diff options
author | Sasha Sorokin <dafri.nochiterov8@gmail.com> | 2019-12-09 10:30:58 +0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-12-09 04:30:58 +0100 |
commit | ab91e7480bcea4624c6eea3e0f06a9b86b866b31 (patch) | |
tree | 3b816deb328445190a8c70b700cb0d24486733fa | |
parent | d7bcc0930cea66c646b56db3587426880b4368df (diff) |
Use codeblock for native redirect URI (#12570)
This commit changes how doorkeeper.applications.help.native_redirect_uri string is being formatted to use <code> tag for native_redirect_uri placeholder. This makes the URI look more distinguishable.
-rw-r--r-- | app/views/settings/applications/_fields.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/settings/applications/_fields.html.haml b/app/views/settings/applications/_fields.html.haml index 6a2863b20..ffd2491d2 100644 --- a/app/views/settings/applications/_fields.html.haml +++ b/app/views/settings/applications/_fields.html.haml @@ -7,7 +7,7 @@ .fields-group = f.input :redirect_uri, wrapper: :with_block_label, label: t('activerecord.attributes.doorkeeper/application.redirect_uri'), hint: t('doorkeeper.applications.help.redirect_uri') - %p.hint= t('doorkeeper.applications.help.native_redirect_uri', native_redirect_uri: Doorkeeper.configuration.native_redirect_uri) + %p.hint= t('doorkeeper.applications.help.native_redirect_uri', native_redirect_uri: content_tag(:code, Doorkeeper.configuration.native_redirect_uri)).html_safe .field-group .input.with_block_label |