Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.09 KB | None | 0 0
  1. @extends('layouts.app')
  2. @section('extracss')
  3.     <link rel="stylesheet" href="/js/pdfjs/web/buttonFormat.css">
  4. @endsection
  5. @section('content')
  6.     <div class="container">
  7.         <div class="row">
  8.             <div class="col-md-8 col-md-offset-2">
  9.                 <div class="panel panel-default">
  10.                     <div class="panel-heading clearfix">
  11.                         <b style="margin-top: 5px; margin-left: 17.5px;" class="panel-title pull-left">Create a new Collection</b>
  12.                         <div class="btn-group pull-right">
  13.                             {{--back button--}}
  14.                             {{ Form::open(array('route' => 'collections.index')) }}
  15.                             {{ Form::hidden('_method', 'GET') }}
  16.                             {{ Form::submit('Back', array('class' => 'btn btn-primary')) }}
  17.                             {{ Form::close() }}
  18.                         </div>
  19.                     </div>
  20.                     <div class="panel-body">
  21.                         <div class="col-sm-12 panel-body">
  22.                             {{ Form::open(array('route' => 'collections.store')) }}
  23.                             {{ csrf_field() }}
  24.  
  25.                             <div class="form-group">
  26.                                 {{ Form::label('name', 'Collection Title') }}
  27.                                 {{ Form::text('name', "", ['class' => 'form-control' , 'placeholder' => 'Enter the title']) }}
  28.                             </div>
  29.  
  30.                             @if ($errors->has('name'))
  31.                                 @if ($error = $errors->first('name'))
  32.                                     <div class="alert alert-danger">
  33.                                         {{ $error }}
  34.                                     </div>
  35.                                 @endif
  36.                             @endif
  37.  
  38.                             <div class="">
  39.                                 {{ Form::label('description', 'Collection Description') }}
  40.                             </div>
  41.                             <div class="form-group">
  42.                                 {{ Form::textarea('description', "", ['class' => 'form-control', 'placeholder' => 'Enter the description']) }}
  43.                                 @if ($errors->has('description'))
  44.                                     @if ($error = $errors->first('description'))
  45.                                         <div class="alert alert-danger">
  46.                                             {{ $error }}
  47.                                         </div>
  48.                                     @endif
  49.                                 @endif
  50.                             </div>
  51.                             <div class="">
  52.                                 <div class="">
  53.                                     {{ Form::submit('Create', array('class' => 'btn btn-primary')) }}
  54.                                     {{ Form::close() }}
  55.                                 </div>
  56.                             </div>
  57.                         </div>
  58.                     </div>
  59.                 </div>
  60.             </div>
  61.         </div>
  62.     </div>
  63. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement