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}}
|
2022-11-25 12:12:51 +01:00
|
|
|
<textarea maxlength="500" class="custom_user_field_value settings_textarea">{{ field_value.value }}</textarea>
|
2021-03-24 11:41:29 +01:00
|
|
|
{{else if is_select_field}}
|
2023-02-24 15:20:03 +01:00
|
|
|
<select class="custom_user_field_value settings_select modal_select bootstrap-focus-style">
|
2019-07-10 22:18:45 +02:00
|
|
|
<option value=""></option>
|
|
|
|
{{#each field_choices}}
|
2021-12-04 15:39:38 +01:00
|
|
|
<option value="{{ this.value }}" {{#if this.selected}}selected{{/if}}>{{ this.text }}</option>
|
2019-07-10 22:18:45 +02:00
|
|
|
{{/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 }}
|
2023-03-27 10:24:27 +02:00
|
|
|
<input class="custom_user_field_value datepicker modal_text_input" data-field-id="{{ field.id }}" type="text"
|
2019-07-10 22:18:45 +02:00
|
|
|
value="{{ field_value.value }}" />
|
|
|
|
<span class="remove_date"><i class="fa fa-close"></i></span>
|
2022-04-02 23:34:55 +02:00
|
|
|
{{else if is_url_field }}
|
2023-03-27 10:24:27 +02:00
|
|
|
<input class="custom_user_field_value modal_text_input" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="2048" />
|
2022-10-03 20:05:09 +02:00
|
|
|
{{else if is_pronouns_field}}
|
2023-03-27 10:24:27 +02:00
|
|
|
<input class="custom_user_field_value pronouns_type_field modal_text_input" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="50" />
|
2019-07-10 22:18:45 +02:00
|
|
|
{{else}}
|
2023-03-27 10:24:27 +02:00
|
|
|
<input class="custom_user_field_value modal_text_input" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="50" />
|
2019-07-10 22:18:45 +02:00
|
|
|
{{/if}}
|
2018-05-09 13:58:29 +02:00
|
|
|
</div>
|
2018-02-26 20:08:23 +01:00
|
|
|
</div>
|