2022-07-23 23:45:48 +05:30
|
|
|
%h1.page-title.gl-font-size-h-display
|
2020-10-24 23:57:45 +05:30
|
|
|
= _("Authorization required")
|
2017-08-17 22:00:37 +05:30
|
|
|
%main{ :role => "main" }
|
|
|
|
%p.h4
|
2020-10-24 23:57:45 +05:30
|
|
|
= html_escape(_("Authorize %{user} to use your account?")) % { user: tag.strong(@chat_name_params[:chat_name]) }
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
%hr
|
|
|
|
.actions
|
|
|
|
= form_tag profile_chat_names_path, method: :post do
|
|
|
|
= hidden_field_tag :token, @chat_name_token.token
|
2021-04-29 21:17:54 +05:30
|
|
|
= submit_tag _("Authorize"), class: "gl-button btn btn-confirm wide float-left"
|
2017-08-17 22:00:37 +05:30
|
|
|
= form_tag deny_profile_chat_names_path, method: :delete do
|
|
|
|
= hidden_field_tag :token, @chat_name_token.token
|
2021-01-03 14:25:43 +05:30
|
|
|
= submit_tag _("Deny"), class: "gl-button btn btn-danger gl-ml-3"
|