2018-05-06 00:38:23 +02:00
|
|
|
<div class="user-name-section custom_user_field" name="{{ field.name }}" data-field-id="{{ field.id }}">
|
2018-05-01 19:33:33 +02:00
|
|
|
<label for="{{ field.name }}" class="title">{{ field.name }}</label>
|
2018-02-26 20:08:23 +01:00
|
|
|
{{#if is_long_text_field}}
|
2018-05-09 13:58:29 +02:00
|
|
|
<textarea maxlength="500" class="custom_user_field_value">{{ field_value }}</textarea>
|
|
|
|
{{else if is_choice_field}}
|
|
|
|
<select class="custom_user_field_value">
|
2018-06-09 09:41:44 +02:00
|
|
|
<option value="">--{{t 'Select' }}--</option>
|
2018-05-09 13:58:29 +02:00
|
|
|
{{#each field_choices}}
|
|
|
|
<option value="{{ this.value }}" {{#if this.selected}}selected{{/if}}>{{ this.text }}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
{{else if is_user_field }}
|
2018-07-10 19:52:02 +02:00
|
|
|
<div class="pill-container uneditable-input">
|
2018-05-09 13:58:29 +02:00
|
|
|
<div class="input" contenteditable="true"></div>
|
|
|
|
</div>
|
2018-05-16 19:22:43 +02:00
|
|
|
{{else if is_date_field }}
|
|
|
|
<input class="custom_user_field_value datepicker" data-field-id="{{ field.id }}" type="text"
|
|
|
|
value="{{ field_value }}" />
|
2018-06-09 15:28:55 +02:00
|
|
|
<span class="remove_date">x</span>
|
2018-02-26 20:08:23 +01:00
|
|
|
{{else}}
|
2018-05-09 13:58:29 +02:00
|
|
|
<input class="custom_user_field_value" type="{{ field_type }}" value="{{ field_value }}" maxlength="50" />
|
2018-02-26 20:08:23 +01:00
|
|
|
{{/if}}
|
2018-05-01 19:33:33 +02:00
|
|
|
<div class="field_hint">{{ field.hint }}</div>
|
2018-02-26 20:08:23 +01:00
|
|
|
</div>
|