2021-06-28 15:45:47 +02:00
|
|
|
<div class="custom_user_field" name="{{ field.name }}" data-field-id="{{ field.id }}">
|
2019-07-10 22:18:45 +02:00
|
|
|
<label class="inline-block" for="{{ field.name }}" class="title">{{ field.name }}</label>
|
|
|
|
<div class="alert-notification custom-field-status"></div>
|
2021-05-10 01:54:48 +02:00
|
|
|
<div class="field_hint">{{ field.hint }}</div>
|
2019-07-10 22:18:45 +02:00
|
|
|
<div class="field">
|
|
|
|
{{#if is_long_text_field}}
|
|
|
|
<textarea maxlength="500" class="custom_user_field_value">{{ field_value.value }}</textarea>
|
2021-03-24 11:41:29 +01:00
|
|
|
{{else if is_select_field}}
|
2019-07-10 22:18:45 +02:00
|
|
|
<select class="custom_user_field_value">
|
|
|
|
<option value=""></option>
|
|
|
|
{{#each field_choices}}
|
|
|
|
<option value="{{ this.value }}" {{#if this.selected}}selected{{/if}}>{{ this.text }}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
{{else if is_user_field }}
|
|
|
|
<div class="pill-container person_picker">
|
|
|
|
<div class="input" contenteditable="true"></div>
|
|
|
|
</div>
|
|
|
|
{{else if is_date_field }}
|
|
|
|
<input class="custom_user_field_value datepicker" data-field-id="{{ field.id }}" type="text"
|
|
|
|
value="{{ field_value.value }}" />
|
|
|
|
<span class="remove_date"><i class="fa fa-close"></i></span>
|
|
|
|
{{else}}
|
|
|
|
<input class="custom_user_field_value" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="50" />
|
|
|
|
{{/if}}
|
2018-05-09 13:58:29 +02:00
|
|
|
</div>
|
2018-02-26 20:08:23 +01:00
|
|
|
</div>
|