2020-07-21 02:09:45 -04:00
|
|
|
%h3.page-title
|
|
|
|
= _("Authorization required")
|
2016-12-26 05:47:16 -05:00
|
|
|
%main{ :role => "main" }
|
2016-11-13 14:35:47 -05:00
|
|
|
%p.h4
|
2020-08-17 08:10:12 -04:00
|
|
|
= html_escape(_("Authorize %{user} to use your account?")) % { user: tag.strong(@chat_name_params[:chat_name]) }
|
2016-11-13 14:35:47 -05:00
|
|
|
|
2016-11-16 17:10:27 -05:00
|
|
|
%hr
|
2016-11-13 14:35:47 -05:00
|
|
|
.actions
|
|
|
|
= form_tag profile_chat_names_path, method: :post do
|
|
|
|
= hidden_field_tag :token, @chat_name_token.token
|
2021-03-17 14:09:01 -04:00
|
|
|
= submit_tag _("Authorize"), class: "gl-button btn btn-confirm wide float-left"
|
2016-11-13 14:35:47 -05:00
|
|
|
= form_tag deny_profile_chat_names_path, method: :delete do
|
|
|
|
= hidden_field_tag :token, @chat_name_token.token
|
2020-10-19 08:09:20 -04:00
|
|
|
= submit_tag _("Deny"), class: "gl-button btn btn-danger gl-ml-3"
|