mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 10:43:44 +08:00
12 lines
412 B
Plaintext
12 lines
412 B
Plaintext
<%if @error%>
|
|
<div class='alert alert-error'>
|
|
<%= @error %>
|
|
</div>
|
|
<%else%>
|
|
<%= form_tag do%>
|
|
<h2><%= t("user_api_key.otp_confirmation.confirm_title", site_name: SiteSetting.title) %></h2>
|
|
<p><%= t("user_api_key.otp_confirmation.logging_in_as", username: @otp_username) %></p>
|
|
<%= submit_tag(t("user_api_key.otp_confirmation.confirm_button"), class: "btn btn-primary") %>
|
|
<%end%>
|
|
<%end%>
|