mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 09:04:10 +08:00

This makes a small improvement to 'cold cache' ember-cli build times, and a large improvement to 'warm cache' build times The ember-auto-import update means that vendor is now split into multiple files for efficiency. These are named `chunk.*`, and should be included immediately after the `vendor.js` file. This commit also updates the rails app to render script tags for these chunks
19 lines
687 B
Plaintext
19 lines
687 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_vendor_scripts %>
|
|
<%= render_google_universal_analytics_code %>
|
|
<%= tag.meta id: 'data-activate-account', data: { path: path('/session/hp') } %>
|
|
<%- end %>
|
|
|
|
<%= preload_script "activate-account" %>
|