{!! Form::open(['route' => ['admin::shipments::dimensions::edit::post', $dimension->id], 'class' => 'form-horizontal', 'id' => 'update_dimension']) !!}
{!! Form::label('name', trans('Shipments::admin/dimensions/forms/edit.labels.name') . ':') !!}
{!! Form::text('name', $dimension->c('getExistsLanguageColumnValue', 'name'), ['class' => 'form-control', 'placeholder' => trans('Shipments::admin/dimensions/forms/edit.inputs.placeholders.name')]) !!}
{!! Form::label('width', trans('Shipments::admin/dimensions/forms/edit.labels.width') . ':') !!}
{!! Form::number('width', $dimension->width, ['step' => '0.1', 'min' => 0, 'class' => 'form-control', 'placeholder' => trans('Shipments::admin/dimensions/forms/edit.inputs.placeholders.width')]) !!}
{!! Form::label('height', trans('Shipments::admin/dimensions/forms/edit.labels.height') . ':') !!}
{!! Form::number('height', $dimension->height, ['step' => '0.1', 'min' => 0, 'class' => 'form-control', 'placeholder' => trans('Shipments::admin/dimensions/forms/edit.inputs.placeholders.height')]) !!}
{!! Form::label('depth', trans('Shipments::admin/dimensions/forms/edit.labels.depth') . ':') !!}
{!! Form::number('depth', $dimension->depth, ['step' => '0.1', 'min' => 0, 'class' => 'form-control', 'placeholder' => trans('Shipments::admin/dimensions/forms/edit.inputs.placeholders.depth')]) !!}
{!! Form::label('weight', trans('Shipments::admin/dimensions/forms/edit.labels.weight') . ':') !!}
{!! Form::number('weight', $dimension->weight, ['step' => '0.01', 'min' => 0, 'class' => 'form-control', 'placeholder' => trans('Shipments::admin/dimensions/forms/edit.inputs.placeholders.weight')]) !!}
{!! Form::label('default', trans('Shipments::admin/dimensions/forms/edit.labels.default') . ':') !!}
{!! Form::checkbox('default', 1, (bool) $dimension->default, ['id' => 'default']) !!} {!! Form::label('default', ' ') !!}
{!! Form::button(trans('global.save'), ['type' => 'submit', 'id' => 'edit_dimension_submit', 'class' => 'btn btn-wide btn-success ladda-button', 'data-style' => 'slide-up']) !!}
{!! Form::close() !!} @if ($defaultExists && $dimension->default !== 1) @push('footScripts') @endpush @endif