2018-01-20 00:42:29 -08:00
|
|
|
{{-- See snipeit_modals.js for what powers this --}}
|
2017-08-24 22:24:02 -07:00
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
2021-11-23 18:28:10 -08:00
|
|
|
<h2 class="modal-title">{{ trans('admin/locations/table.create') }}</h2>
|
2017-08-24 22:24:02 -07:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2018-01-20 00:42:29 -08:00
|
|
|
<form action="{{ route('api.locations.store') }}" onsubmit="return false">
|
|
|
|
<div class="alert alert-danger" id="modal_error_msg" style="display:none">
|
|
|
|
</div>
|
2024-09-25 15:47:57 -07:00
|
|
|
@include('modals.partials.name', ['item' => new \App\Models\Location(), 'required' => 'true'])
|
2017-08-24 22:24:02 -07:00
|
|
|
|
2018-01-20 00:42:29 -08:00
|
|
|
<div class="dynamic-form-row">
|
|
|
|
<div class="col-md-4 col-xs-12"><label for="modal-city">{{ trans('general.city') }}:</label></div>
|
2024-04-08 02:50:52 -07:00
|
|
|
<div class="col-md-8 col-xs-12"><input type='text' name="city" id='modal-city' class="form-control"></div>
|
2018-01-20 00:42:29 -08:00
|
|
|
</div>
|
2017-08-24 22:24:02 -07:00
|
|
|
|
2018-01-20 00:42:29 -08:00
|
|
|
<div class="dynamic-form-row">
|
|
|
|
<div class="col-md-4 col-xs-12 country"><label for="modal-country">{{ trans('general.country') }}:</label></div>
|
2024-06-27 07:05:47 -07:00
|
|
|
<div class="col-md-8 col-xs-12">{!! Form::countries('country', old('country'), 'select2 country',"modal-country") !!}</div>
|
2018-01-20 00:42:29 -08:00
|
|
|
</div>
|
|
|
|
</form>
|
2017-08-24 22:24:02 -07:00
|
|
|
</div>
|
2024-09-09 16:34:04 -07:00
|
|
|
@include('modals.partials.footer')
|
2017-08-24 22:24:02 -07:00
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|