| Server IP : 14.225.204.176 / Your IP : 216.73.216.252 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/home-services/resources/views/option_groups/ |
Upload File : |
@if($customFields)
<h5 class="col-12 pb-4">{!! trans('lang.main_fields') !!}</h5>
@endif
<div class="d-flex flex-column col-sm-12 col-md-6">
<!-- Name Field -->
<div class="form-group align-items-baseline d-flex flex-column flex-md-row">
{!! Form::label('name', trans("lang.option_group_name"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
<div class="col-md-9">
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.option_group_name_placeholder")]) !!}
<div class="form-text text-muted">
{{ trans("lang.option_group_name_help") }}
</div>
</div>
</div>
</div>
<div class="d-flex flex-column col-sm-12 col-md-6">
<!-- 'Boolean Allow Multiple Field' -->
<div class="form-group align-items-baseline d-flex flex-column flex-md-row">
{!! Form::label('allow_multiple', trans("lang.option_group_allow_multiple"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!} {!! Form::hidden('allow_multiple', 0, ['id'=>"hidden_allow_multiple"]) !!}
<div class="col-md-9 icheck-{{setting('theme_color')}}">
{!! Form::checkbox('allow_multiple', 1, null) !!} <label for="allow_multiple"></label>
</div>
</div>
</div>
@if($customFields)
<div class="clearfix"></div>
<div class="col-12 custom-field-container">
<h5 class="col-12 pb-4">{!! trans('lang.custom_field_plural') !!}</h5>
{!! $customFields !!}
</div>
@endif
<!-- Submit Field -->
<div class="form-group col-12 d-flex flex-column flex-md-row justify-content-md-end justify-content-sm-center border-top pt-4">
<button type="submit" class="btn bg-{{setting('theme_color')}} mx-md-3 my-lg-0 my-xl-0 my-md-0 my-2">
<i class="fas fa-save"></i> {{trans('lang.save')}} {{trans('lang.option_group')}}</button>
<a href="{!! route('optionGroups.index') !!}" class="btn btn-default"><i class="fas fa-undo"></i> {{trans('lang.cancel')}}</a>
</div>