Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{Form::open(array('url' => 'Newpost', 'files' => 'true', 'method' => 'post'))}}
- {{Form::label('title', '*Title')}}
- {{Form::text('title', null,array(
- 'class' => 'form-control',
- 'placeholder' => 'Title...',),
- ['data-ng-model' => 'title']
- )}}<br>
- {{Form::label('content', '*Content')}}
- {{Form::textarea('content',null ,array(
- 'class' => 'form-control',
- 'placeholder' => 'Write here...'
- ))}}
- <br>
- {{Form::file('image',array(
- 'class' => 'btn btn-primary'
- ))}}<p class="p">You are only allowed to submit one file photo*</p><br>
- {{Form::file('vid',array(
- 'class' => 'btn btn-info'
- ))}}<br>
- {{Form::submit('Publish', array(
- 'class' => 'btn btn-default'
- ))}}
- {{Form::close()}}
- $input = Input::all();
- dd($input);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement