app/views/users/new.html.erb in tkh_authentication-0.0.12 vs app/views/users/new.html.erb in tkh_authentication-0.1
- old
+ new
@@ -1,15 +1,20 @@
-<%= simple_form_for @user do |f| %>
+<h1><%= t('authentication.create_account') %></h1>
+
+<%= simple_form_for @user, :html => { class: 'form-horizontal' } do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :email %>
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= f.input :password %>
- <%= f.input :password_confirmation %>
+ <%= f.input :password_confirmation, required: true %>
</div>
<div class="form-actions">
- <%= f.button :submit, label: t('authentication.create_account'), :class => 'btn btn-primary' %>
+ <%= f.button :submit, t('authentication.create_account'), :class => 'btn btn-primary' %>
</div>
<% end %>
+
+<%# partial in tkh_menus gem or has to be added in host app %>
+<%= render './shared/menus' %>
\ No newline at end of file