mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added fields to custom field edit form
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c727633e6b
commit
da77ddd447
|
@ -157,7 +157,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Auto-Add to Future Fieldsets -->
|
<!-- Auto-Add to Future Fieldsets -->
|
||||||
<div class="col-md-9 col-md-offset-3">
|
<div class="col-md-9 col-md-offset-3" style="padding-bottom: 10px;">
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="auto_add_to_fieldsets" aria-label="auto_add_to_fieldsets" value="1"{{ (old('auto_add_to_fieldsets') || $field->auto_add_to_fieldsets) ? ' checked="checked"' : '' }}>
|
<input type="checkbox" name="auto_add_to_fieldsets" aria-label="auto_add_to_fieldsets" value="1"{{ (old('auto_add_to_fieldsets') || $field->auto_add_to_fieldsets) ? ' checked="checked"' : '' }}>
|
||||||
{{ trans('admin/custom_fields/general.auto_add_to_fieldsets') }}
|
{{ trans('admin/custom_fields/general.auto_add_to_fieldsets') }}
|
||||||
|
@ -165,7 +165,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Show in list view -->
|
<!-- Show in list view -->
|
||||||
<div class="col-md-9 col-md-offset-3">
|
<div class="col-md-9 col-md-offset-3" style="padding-bottom: 10px;">
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="show_in_listview" aria-label="show_in_listview" value="1"{{ (old('show_in_listview') || $field->show_in_listview) ? ' checked="checked"' : '' }}>
|
<input type="checkbox" name="show_in_listview" aria-label="show_in_listview" value="1"{{ (old('show_in_listview') || $field->show_in_listview) ? ' checked="checked"' : '' }}>
|
||||||
{{ trans('admin/custom_fields/general.show_in_listview') }}
|
{{ trans('admin/custom_fields/general.show_in_listview') }}
|
||||||
|
@ -176,7 +176,7 @@
|
||||||
@if ((!$field->id) || ($field->field_encrypted=='0'))
|
@if ((!$field->id) || ($field->field_encrypted=='0'))
|
||||||
|
|
||||||
<!-- Show in requestable list view -->
|
<!-- Show in requestable list view -->
|
||||||
<div class="col-md-9 col-md-offset-3" id="show_in_requestable_list">
|
<div class="col-md-9 col-md-offset-3" id="show_in_requestable_list" style="padding-bottom: 10px;">
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="show_in_requestable_list" aria-label="show_in_requestable_list" value="1"{{ (old('show_in_requestable_list') || $field->show_in_requestable_list) ? ' checked="checked"' : '' }}>
|
<input type="checkbox" name="show_in_requestable_list" aria-label="show_in_requestable_list" value="1"{{ (old('show_in_requestable_list') || $field->show_in_requestable_list) ? ' checked="checked"' : '' }}>
|
||||||
{{ trans('admin/custom_fields/general.show_in_requestable_list') }}
|
{{ trans('admin/custom_fields/general.show_in_requestable_list') }}
|
||||||
|
@ -184,7 +184,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Show in Email -->
|
<!-- Show in Email -->
|
||||||
<div class="col-md-9 col-md-offset-3" id="show_in_email">
|
<div class="col-md-9 col-md-offset-3" id="show_in_email" style="padding-bottom: 10px;">
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="show_in_email" aria-label="show_in_email" value="1"{{ (old('show_in_email') || $field->show_in_email) ? ' checked="checked"' : '' }}>
|
<input type="checkbox" name="show_in_email" aria-label="show_in_email" value="1"{{ (old('show_in_email') || $field->show_in_email) ? ' checked="checked"' : '' }}>
|
||||||
{{ trans('admin/custom_fields/general.show_in_email') }}
|
{{ trans('admin/custom_fields/general.show_in_email') }}
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Value Must be Unique -->
|
<!-- Value Must be Unique -->
|
||||||
<div class="col-md-9 col-md-offset-3" id="is_unique">
|
<div class="col-md-9 col-md-offset-3" id="is_unique" style="padding-bottom: 10px;">
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="is_unique" aria-label="is_unique" value="1"{{ (old('is_unique') || $field->is_unique) ? ' checked="checked"' : '' }}>
|
<input type="checkbox" name="is_unique" aria-label="is_unique" value="1"{{ (old('is_unique') || $field->is_unique) ? ' checked="checked"' : '' }}>
|
||||||
{{ trans('admin/custom_fields/general.is_unique') }}
|
{{ trans('admin/custom_fields/general.is_unique') }}
|
||||||
|
@ -200,7 +200,25 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<!-- Show in View All Assets profile view -->
|
|
||||||
|
<!-- Show in Checkout Form -->
|
||||||
|
<div class="col-md-9 col-md-offset-3" id="display_checkout" style="padding-bottom: 10px;">
|
||||||
|
<label class="form-control">
|
||||||
|
<input type="checkbox" name="display_checkout" aria-label="display_checkout" value="1" {{ (old('display_checkout') || $field->display_checkout) ? ' checked="checked"' : '' }}>
|
||||||
|
{{ trans('admin/custom_fields/general.display_checkout') }}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Show in Checkin Form -->
|
||||||
|
<div class="col-md-9 col-md-offset-3" id="display_checkin" style="padding-bottom: 10px;">
|
||||||
|
<label class="form-control">
|
||||||
|
<input type="checkbox" name="display_checkin" aria-label="display_checkin" value="1" {{ (old('display_checkin') || $field->display_checkin) ? ' checked="checked"' : '' }}>
|
||||||
|
{{ trans('admin/custom_fields/general.display_checkin') }}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Show in View All Assets profile view -->
|
||||||
<div class="col-md-9 col-md-offset-3" id="display_in_user_view">
|
<div class="col-md-9 col-md-offset-3" id="display_in_user_view">
|
||||||
<label class="form-control">
|
<label class="form-control">
|
||||||
<input type="checkbox" name="display_in_user_view" aria-label="display_in_user_view" value="1" {{ (old('display_in_user_view') || $field->display_in_user_view) ? ' checked="checked"' : '' }}>
|
<input type="checkbox" name="display_in_user_view" aria-label="display_in_user_view" value="1" {{ (old('display_in_user_view') || $field->display_in_user_view) ? ' checked="checked"' : '' }}>
|
||||||
|
|
Loading…
Reference in a new issue