app/views/sessions/new.html.erb in vita-clearance-0.6.9.1 vs app/views/sessions/new.html.erb in vita-clearance-0.6.9.2
- old
+ new
@@ -1,29 +1,29 @@
<h2><%= t :sign_in, :scope => [:clearance, :views, :sessions], :default => 'Sign in' %></h2>
<% form_for :session, :url => session_path do |form| %>
<div class="text_field">
- <%= form.label :email %>
+ <%= form.label :email, User.human_attribute_name('email') %>
<%= form.text_field :email %>
</div>
<div class="text_field">
- <%= form.label :password %>
+ <%= form.label :password, User.human_attribute_name('password') %>
<%= form.password_field :password %>
</div>
<div class="text_field">
<%= form.check_box :remember_me %>
- <%= form.label :remember_me %>
+ <%= form.label :remember_me, t(:remember_me, :scope => [:clearance, :views, :sessions], :default => 'Remember me') %>
</div>
<div class="submit_field">
- <%= form.submit t(:sing_in, :scope => [:clearance, :views, :buttons], :default => 'Sign in'),
+ <%= form.submit t(:sign_in, :scope => [:clearance, :views, :buttons], :default => 'Sign in'),
:disable_with => t(:please_wait, :scope => [:clearance, :views, :buttons], :default => "Please wait...") %>
</div>
<% end %>
<ul>
<li>
<%= link_to t(:sign_up, :scope => [:clearance, :views, :sessions], :default => 'Sign up'), new_user_path %>
</li>
<li>
- <%= link_to t(:forgot_password, :cope => [:clearance, :views, :sessions], :default => 'Forgot password?'), new_password_path %>
+ <%= link_to t(:forgot_password, :scope => [:clearance, :views, :sessions], :default => 'Forgot password?'), new_password_path %>
</li>
</ul>
\ No newline at end of file