mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 15:44:11 -08:00
4696e799ed
* Added form checkout selector partial * Stupid stash * Added radio button checkout selector javascript * New compiled production assets * Added $style override in form partials for select2 ajax lists * Added checkout-to radio button selector TODO: Fix for accessibility - currently cannot tab-select this radio button * Added new checkout-to selector to hardware edit * Added new checkout-to selector to asset checkout form * Refactored postCheckout to use radio button submission This defaults to user checkout if nothing is passed for some reason * Better visual feedback on whether or not an asset is deployable in edit screen
17 lines
964 B
PHP
17 lines
964 B
PHP
<div class="form-group" id="assignto_selector"{!! (isset($style)) ? ' style="'.e($style).'"' : '' !!}>
|
|
{{ Form::label('name', trans('admin/hardware/form.checkout_to'), array('class' => 'col-md-3 control-label')) }}
|
|
<div class="col-md-8">
|
|
<div class="btn-group" data-toggle="buttons">
|
|
<label class="btn btn-default active">
|
|
<input name="checkout_to_type" value="user" type="radio" selected><i class="fa fa-user"></i> {{ trans('general.user') }}
|
|
</label>
|
|
<label class="btn btn-default">
|
|
<input name="checkout_to_type" value="asset" type="radio"><i class="fa fa-barcode"></i> {{ trans('general.asset') }}
|
|
</label>
|
|
<label class="btn btn-default">
|
|
<input name="checkout_to_type" value="location" class="active" type="radio"><i class="fa fa-map-marker"></i> {{ trans('general.location') }}
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|