Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layouts.master')
- @section ('content')
- <h1>Publish a Post</h1>
- <hr>
- <form method="POST" action="/posts">
- {{ csrf_field() }}
- <div class="form-group">
- <label for="title">Title</label>
- <input type="text" class="form-control" id="title" name="title">
- </div>
- <div class="form-group">
- <label for="body">Body</label>
- <textarea type="text" class="form-control" id="body" name="body" ></textarea>
- </div>
- <button type="submit" class="btn btn-primary">Publish</button>
- </form>
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment