@extends('themes.base.layout') @section('title', 'Gallery Admin') @section('breadcrumb') @endsection @section('content')

@lang('admin.create_album')

@lang('admin.create_album_intro')

@lang('admin.create_album_intro2')


@if (count($errors) > 0)
    @foreach ($errors->all() as $form_error)
  • {{ $form_error }}
  • @endforeach
@endif {!! Form::open(['route' => 'albums.store', 'method' => 'POST']) !!}
{!! Form::label('name', trans('forms.name_label'), ['class' => 'control-label']) !!} {!! Form::text('name', old('name'), ['class' => 'form-control']) !!}
{!! Form::label('description', trans('forms.description_label'), ['class' => 'control-label']) !!} {!! Form::textarea('description', old('description'), ['class' => 'form-control']) !!}
{!! Form::label('storage_id', trans('forms.album_source_label'), ['class' => 'control-label']) !!} {!! Form::select('storage_id', $album_sources, old('storage_id', $default_storage_id), ['class' => 'form-control']) !!}
@lang('forms.cancel_action') {!! Form::submit(trans('forms.create_action'), ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}
@endsection