mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 03:13:38 +08:00
a6eca28ec6
* wizard page inline js * print topic inline js * drop JS for preventing double submission this is the default behavior with Rails' UJS `disable_with` helper * omniauth complete redirect JS * account activate inline js
20 lines
721 B
Plaintext
20 lines
721 B
Plaintext
<div id='simple-container'>
|
|
<h2><%= t 'activation.welcome_to', site_name: SiteSetting.title %></h2>
|
|
<br/>
|
|
<button class='btn btn-primary' id='activate-account-button'><%= t 'activation.action' %></button>
|
|
|
|
<%= form_tag(perform_activate_account_path, method: :put, id: 'activate-account-form') do %>
|
|
<%= hidden_field_tag 'password_confirmation' %>
|
|
<%= hidden_field_tag 'challenge' %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%- content_for(:no_ember_head) do %>
|
|
<%= preload_script "ember_jquery" %>
|
|
<%= preload_script "vendor" %>
|
|
<%= render_google_universal_analytics_code %>
|
|
<%= tag.meta id: 'data-activate-account', data: { path: path('/u/hp') } %>
|
|
<%- end %>
|
|
|
|
<%= preload_script "activate-account" %>
|