lib/authpwn_rails/generators/templates/session/new.html.erb in authpwn_rails-0.14.0 vs lib/authpwn_rails/generators/templates/session/new.html.erb in authpwn_rails-0.14.1
- old
+ new
@@ -14,12 +14,12 @@
<%= form_tag session_path do %>
<div class="field">
<%= label_tag :email, 'Email Address' %><br />
<span class="value">
- <%= email_field_tag :email, @email, :autofocus => true, :required => true,
- :placeholder => 'your@email.com' %>
+ <%= email_field_tag :email, @email, autofocus: true, required: true,
+ placeholder: 'your@email.com' %>
</span>
</div>
<div class="field">
<%= label_tag :password %><br />
@@ -27,12 +27,12 @@
<%= password_field_tag :password %>
</span>
</div>
<div class="actions">
- <%= button_tag 'Log in', :name => 'login', :value => 'requested' %>
- <%= button_tag 'Reset Password', :name => 'reset_password',
- :value => 'requested', :formaction => reset_password_session_path %>
+ <%= button_tag 'Log in', name: 'login', value: 'requested' %>
+ <%= button_tag 'Reset Password', name: 'reset_password',
+ value: 'requested', formaction: reset_password_session_path %>
<% if @redirect_url %>
<%= hidden_field_tag :redirect_url, @redirect_url %>
<% end %>
</div>