mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
slack_import: Use textarea
for slack access token.
This is to help user see the complete access token at once.
This commit is contained in:
@@ -39,9 +39,14 @@
|
||||
</div>
|
||||
<div class="input-box">
|
||||
<label for="slack_access_token" class="inline-block label-title">{{ _('Slack bot user OAuth token') }}</label>
|
||||
<input id="slack-access-token" type="text"
|
||||
<textarea id="slack-access-token"
|
||||
placeholder="xoxb-…"
|
||||
maxlength="100" name="slack_access_token" {% if slack_access_token %} value="{{ slack_access_token }}" {% endif %} />
|
||||
rows="3"
|
||||
maxlength="100" name="slack_access_token">
|
||||
{%- if slack_access_token -%}
|
||||
{{ slack_access_token }}
|
||||
{%- endif -%}
|
||||
</textarea>
|
||||
{% if slack_access_token_validation_error %}
|
||||
<p id="slack-access-token-validation-error" class="help-inline text-error">{{ slack_access_token_validation_error }}</p>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user