Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layouts.app')
- @section('extracss')
- <link rel="stylesheet" href="/js/pdfjs/web/buttonFormat.css">
- @endsection
- @section('content')
- <div class="container">
- <div class="row">
- <div class="col-md-8 col-md-offset-2">
- <div class="panel panel-default">
- <div class="panel-heading clearfix">
- <b style="margin-top: 5px; margin-left: 17.5px;" class="panel-title pull-left">Create a new Collection</b>
- <div class="btn-group pull-right">
- {{--back button--}}
- {{ Form::open(array('route' => 'collections.index')) }}
- {{ Form::hidden('_method', 'GET') }}
- {{ Form::submit('Back', array('class' => 'btn btn-primary')) }}
- {{ Form::close() }}
- </div>
- </div>
- <div class="panel-body">
- <div class="col-sm-12 panel-body">
- {{ Form::open(array('route' => 'collections.store')) }}
- {{ csrf_field() }}
- <div class="form-group">
- {{ Form::label('name', 'Collection Title') }}
- {{ Form::text('name', "", ['class' => 'form-control' , 'placeholder' => 'Enter the title']) }}
- </div>
- @if ($errors->has('name'))
- @if ($error = $errors->first('name'))
- <div class="alert alert-danger">
- {{ $error }}
- </div>
- @endif
- @endif
- <div class="">
- {{ Form::label('description', 'Collection Description') }}
- </div>
- <div class="form-group">
- {{ Form::textarea('description', "", ['class' => 'form-control', 'placeholder' => 'Enter the description']) }}
- @if ($errors->has('description'))
- @if ($error = $errors->first('description'))
- <div class="alert alert-danger">
- {{ $error }}
- </div>
- @endif
- @endif
- </div>
- <div class="">
- <div class="">
- {{ Form::submit('Create', array('class' => 'btn btn-primary')) }}
- {{ Form::close() }}
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement