PHP Classes

File: resources/views/posts/create.blade.php

Recommend this page to a friend!
  Classes of Nahidul Hasan   Laravel ElasticSearch Application with Docker   resources/views/posts/create.blade.php   Download  
File: resources/views/posts/create.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel ElasticSearch Application with Docker
Setup a Laravel ElasticSearch app using Docker
Author: By
Last change:
Date: 1 year ago
Size: 685 bytes
 

Contents

Class file image Download
@extends('layouts.master')

@section('title','Create post')

@section('content')
    <h3>Create post</h3>

    <hr>

    <form method="post" action="/posts">

        {{ csrf_field() }}

        <div class="form-group">
            <label for="title">Title</label>
            <input type="text" name="title" class="form-control" id="title" required>
        </div>

        <div class="form-group">
            <label for="content">content</label>
            <textarea class="form-control" name="content" id="content" required></textarea>
        </div>

        <div class="form-group">
            <input type="submit" name="Create" value="Create">
        </div>
    </form>
@endsection