Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. {{Form::open(array('url' => 'Newpost', 'files' => 'true', 'method' => 'post'))}}
  2.  
  3. {{Form::label('title', '*Title')}}
  4. {{Form::text('title', null,array(
  5. 'class' => 'form-control',
  6. 'placeholder' => 'Title...',),
  7. ['data-ng-model' => 'title']
  8. )}}<br>
  9.  
  10. {{Form::label('content', '*Content')}}
  11. {{Form::textarea('content',null ,array(
  12. 'class' => 'form-control',
  13. 'placeholder' => 'Write here...'
  14.  
  15. ))}}
  16.  
  17. <br>
  18. {{Form::file('image',array(
  19. 'class' => 'btn btn-primary'
  20. ))}}<p class="p">You are only allowed to submit one file photo*</p><br>
  21.  
  22. {{Form::file('vid',array(
  23. 'class' => 'btn btn-info'
  24. ))}}<br>
  25.  
  26. {{Form::submit('Publish', array(
  27. 'class' => 'btn btn-default'
  28. ))}}
  29.  
  30. {{Form::close()}}
  31.  
  32. $input = Input::all();
  33. dd($input);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement