@extends('settings.layouts.app') @section('content')

Edit Collection "{{ $collection->name }}"

@if($collection->parent()->exists()) BACK @else BACK @endif
{!! Form::model($collection, ['method' => 'PATCH', 'route' => ['settings.collection.update', $collection->id], 'class' => 'pure-form pure-form-aligned']) !!}
{{ Form::label('name', 'collection name') }} {{ Form::text('name', null, ['class' => 'form-control']) }} *
{{ Form::label('number', 'number') }} {{ Form::text('number', null, ['class' => 'form-control']) }} number is optional
{!! Form::label('role_id', 'Collection Role..') !!} {!! Form::select('role_id', $collectionroles, null, ['id' => 'role_id', 'placeholder' => '-- no role selected --']) !!} *
{{ Form::submit("Submit", ['class' => 'pure-button button-small']) }}
@include('errors._errors') {!! Form::close() !!}
@endsection