mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
19 lines
646 B
Plaintext
19 lines
646 B
Plaintext
<h1><%= t "user_api_key.title" %></h1>
|
|
<div>
|
|
<p>
|
|
<%= t("user_api_key.description", application_name: @application_name, access: @access_description) %>
|
|
</p>
|
|
<%= form_tag(user_api_key_path) do %>
|
|
<%= hidden_field_tag 'application_name', @application_name %>
|
|
<%= hidden_field_tag 'access', @access %>
|
|
<%= hidden_field_tag 'nonce', @nonce %>
|
|
<%= hidden_field_tag 'client_id', @client_id %>
|
|
<%= hidden_field_tag 'auth_redirect', @auth_redirect %>
|
|
<%= hidden_field_tag 'push_url', @push_url %>
|
|
<%= hidden_field_tag 'public_key', @public_key%>
|
|
<%= submit_tag t('user_api_key.authorize'), class: 'btn btn-danger' %>
|
|
<% end %>
|
|
</div>
|
|
|
|
|