zulip/static/templates/settings/custom-user-profile-field.h...

9 lines
447 B
Handlebars

<div class="user-name-section custom_user_field">
<label for="{{ field_name }}" class="title">{{ field_name }}</label>
{{#if is_long_text_field}}
<textarea name="{{ field_name }}" id="{{ field_id }}" placeholder="{{t 'No value.' }}">{{ field_value }}</textarea>
{{else}}
<input type="{{ field_type }}" name="{{ field_name }}" id="{{ field_id }}" placeholder="{{t 'No value.' }}" value="{{ field_value }}" />
{{/if}}
</div>