Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layouts.app')
- @section('content')
- <h1 class="text-center">Create post</h1>
- {{ Form::open(['action' => 'PostsController@store', 'method' => 'POST']) }}
- <div class="form-group">
- {{Form::label('title','Title')}}
- {{Form::text('title','',['class' => 'form-control', 'placeholder' => 'Title of your blog post'] )}}
- </div>
- <div class="form-group">
- {{Form::label('body')}}
- {{Form::textarea('body','',['class' => 'form-control', 'placeholder' => 'Your text goes here', 'id' => 'article-ckeditor'] )}}
- </div>
- {{Form::submit('Submit', ['class' => 'btn btn-primary'])}}
- {{ Form::close() }}
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement