mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
removes encrypted fields as a selectable option for labels
This commit is contained in:
parent
df49e8350f
commit
040f826c52
|
@ -348,7 +348,9 @@
|
||||||
</optgroup>
|
</optgroup>
|
||||||
<optgroup label="Custom Fields">
|
<optgroup label="Custom Fields">
|
||||||
@foreach($customFields as $customField)
|
@foreach($customFields as $customField)
|
||||||
|
@if($customField->field_encrypted != 1)
|
||||||
<option value="{{ $customField->db_column }}">{{ $customField->name }}</option>
|
<option value="{{ $customField->db_column }}">{{ $customField->name }}</option>
|
||||||
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
</optgroup>
|
</optgroup>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in a new issue