@extends('themes.base.layout') @section('title', trans('admin.edit_storage', ['storage_name' => $storage->name])) @section('breadcrumb') @endsection @section('content')

@yield('title')

@lang('admin.edit_storage_intro', ['storage_name' => $storage->name])


{!! Form::model($storage, ['route' => ['storage.update', $storage->id], 'method' => 'PUT']) !!}
{!! Form::label('name', trans('forms.name_label'), ['class' => 'control-label']) !!} {!! Form::text('name', old('name'), ['class' => 'form-control']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($storage->source == 'OpenStackSource')
@include(Theme::viewName('partials.admin_storages_openstack_options')) @endif @if ($storage->source == 'AmazonS3Source')
@include(Theme::viewName('partials.admin_storages_amazon_s3_options')) @endif @if ($storage->source == 'RackspaceSource')
@include(Theme::viewName('partials.admin_storages_rackspace_options')) @endif
@lang('forms.cancel_action')
{!! Form::close() !!}
@endsection @push('scripts') @endpush