zulip/web/templates/settings/admin_linkifier_edit_form.hbs

15 lines
924 B
Handlebars

<div id="edit-linkifier-form">
<form class="linkifier-edit-form">
<div class="input-group name_change_container">
<label for="edit-linkifier-pattern" >{{t "Pattern" }}</label>
<input type="text" autocomplete="off" id="edit-linkifier-pattern" class="modal_text_input" name="pattern" placeholder="#(?P<id>[0-9]+)" value="{{ pattern }}" />
<div class="alert" id="edit-linkifier-pattern-status"></div>
</div>
<div class="input-group name_change_container">
<label for="edit-linkifier-url-template" >{{t "URL template" }}</label>
<input type="text" autocomplete="off" id="edit-linkifier-url-template" class="modal_text_input" name="url_template" placeholder="https://github.com/zulip/zulip/issues/{id}" value="{{ url_template }}" />
<div class="alert" id="edit-linkifier-template-status"></div>
</div>
</form>
</div>