mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-16 02:24:09 -08:00
28 lines
1.5 KiB
PHP
28 lines
1.5 KiB
PHP
{{-- See snipeit_modals.js for what powers this --}}
|
|
<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>
|
|
<h2 class="modal-title">{{ trans('admin/statuslabels/table.create') }}</h2>
|
|
</div>
|
|
<div class="modal-body">
|
|
<form action="{{ route('api.statuslabels.store') }}" onsubmit="return false">
|
|
<div class="alert alert-danger" id="modal_error_msg" style="display:none">
|
|
</div>
|
|
<div class="dynamic-form-row">
|
|
@include('partials.forms.edit.name', ['required' => 'true', 'item' => new \App\Models\Statuslabel(),'translated_name' => trans('admin/statuslabels/table.name') ])
|
|
</div>
|
|
|
|
<div class="dynamic-form-row">
|
|
<div class="col-md-3 col-xs-12"><label for="modal-type">{{ trans('admin/statuslabels/table.status_type') }}:
|
|
</label></div>
|
|
<div class="col-md-8 col-xs-12">{{ Form::select('type', $statuslabel_types, '', array('class'=>'select2', 'style'=>'width:100%','id' =>'modal-type', 'required',)) }}</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="dynamic-form-row">
|
|
@include('modals.partials.footer')
|
|
</div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|