@extends('themes.base.layout') @section('title', trans('admin.create_storage')) @section('breadcrumb') @endsection @section('content')

@lang('admin.create_storage')

@lang('admin.create_storage_intro')


@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::open(['route' => 'storage.store', 'method' => 'POST']) !!}
{!! Form::label('name', trans('forms.name_label'), ['class' => 'control-label']) !!} {!! Form::text('name', old('name'), ['class' => 'form-control']) !!}
{!! Form::label('source', trans('forms.album_source_label'), ['class' => 'control-label']) !!} {!! Form::select('source', $album_sources, old('source'), ['class' => 'form-control', 'data-bind' => 'value: selectedLocation']) !!}
{!! Form::label('location', trans('forms.storage_driver_label'), ['class' => 'control-label']) !!} {!! Form::text('location', old('location', $filesystem_default_location), ['class' => 'form-control']) !!}
@lang('forms.cancel_action') {!! Form::submit(trans('forms.create_action'), ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}
@endsection @push('scripts') @endpush