mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 20:11:16 +00:00
Added a new userfield type "preset-list" (closes #239)
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="entity">{{ $__t('Type') }}</label>
|
||||
<label for="type">{{ $__t('Type') }}</label>
|
||||
<select required class="form-control" id="type" name="type">
|
||||
<option></option>
|
||||
@foreach($userfieldTypes as $userfieldType)
|
||||
@@ -55,6 +55,11 @@
|
||||
<div class="invalid-feedback">{{ $__t('A type is required') }}</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group d-none">
|
||||
<label for="config">{{ $__t('Configuration') }} <span id="config-hint" class="small text-muted"></span></label>
|
||||
<textarea class="form-control" rows="10" id="config" name="config">@if($mode == 'edit'){{ $userfield->config }}@endif</textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input type="hidden" name="show_as_column_in_tables" value="0">
|
||||
|
Reference in New Issue
Block a user