snipe-it/resources/views/modals/statuslabel.blade.php

28 lines
1.4 KiB
PHP
Raw Normal View History

{{-- 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">&times;</span></button>
2021-11-23 18:28:10 -08:00
<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">
2024-09-25 12:48:05 -07:00
@include('partials.forms.edit.name', ['item' => new \App\Models\Statuslabel(),'translated_name' => trans('admin/statuslabels/table.name') ])
</div>
<div class="dynamic-form-row">
2024-09-25 12:48:05 -07:00
<div class="col-md-3 col-xs-12"><label for="modal-type">{{ trans('admin/statuslabels/table.status_type') }}:
</label></div>
2024-09-25 12:48:05 -07:00
<div class="col-md-8 col-xs-12 required">{{ Form::select('type', $statuslabel_types, '', array('class'=>'select2', 'style'=>'width:100%','id' =>'modal-type')) }}</div>
</div>
</form>
</div>
2024-09-25 12:48:05 -07:00
<div class="dynamic-form-row">
@include('modals.partials.footer')
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->