@if ($existing == 0) @endif {!! Form::text('attr_name[]', null, [ 'placeholder' => __('crud.attributes.placeholders.attribute'), 'class' => 'form-control', 'maxlength' => 191 ]) !!}
{!! Form::text('attr_value[]', null, ['placeholder' => trans('crud.attributes.placeholders.value'), 'class' => 'form-control', 'maxlength' => 191]) !!}
{!! Form::hidden('attr_is_star[]', false) !!}
@if ($isAdmin)
{!! Form::hidden('attr_is_private[]', false) !!}
@endif
{!! Form::hidden('attr_type[]', '') !!}
@if ($existing == 0) @endif {!! Form::text('attr_name[]', null, ['placeholder' => trans('crud.attributes.placeholders.block'), 'class' => 'form-control', 'maxlength' => 191]) !!}
{!! Form::text('attr_value[]', null, ['placeholder' => trans('crud.attributes.placeholders.value'), 'class' => 'form-control', 'maxlength' => 191]) !!}
{!! Form::hidden('attr_is_star[]', false) !!}
@if ($isAdmin)
{!! Form::hidden('attr_is_private[]', false) !!}
@endif
{!! Form::hidden('attr_type[]', 'block') !!}
@if ($existing == 0) @endif {!! Form::text('attr_name[]', null, ['placeholder' => trans('crud.attributes.placeholders.block'), 'class' => 'form-control', 'maxlength' => 191]) !!}
{!! Form::textarea('attr_value[]', null, ['placeholder' => trans('crud.attributes.placeholders.value'), 'class' => 'form-control', 'rows' => 3]) !!}
{!! Form::hidden('attr_is_star[]', false) !!}
@if ($isAdmin)
{!! Form::hidden('attr_is_private[]', false) !!}
@endif
{!! Form::hidden('attr_type[]', 'text') !!}
@if ($existing == 0) @endif {!! Form::text('attr_name[]', null, ['placeholder' => trans('crud.attributes.placeholders.checkbox'), 'class' => 'form-control', 'maxlength' => 191]) !!}
{!! Form::checkbox('attr_value[]', 1, false) !!}
{!! Form::hidden('attr_is_star[]', false) !!}
@if ($isAdmin)
{!! Form::hidden('attr_is_private[]', false) !!}
@endif
{!! Form::hidden('attr_type[]', 'checkbox') !!}