123456789101112131415161718192021222324252627282930 |
- @extends('layouts.master')
- @section('content')
- <div class="col-sm-8 blog-main">
- <h1>Create a post</h1>
- <hr />
- <form method="post" action="/posts">
- {{ csrf_field() }}
- @include('layouts.errors')
- <div class="form-group">
- <label for="title">Title</label>
- <input type="text" class="form-control" id="title" name="title" />
- <p class="help-block">Keep it short and memorable</p>
- </div>
- <div class="form-group">
- <label for="body">Body</label>
- <textarea rows="10" class="form-control" id="body" name="body"></textarea>
- </div>
- <div class="form-group">
- <button type="submit" class="btn btn-primary">Publish</button>
- </div>
- </form>
- </div>
- @endsection
|