Skip to content

Commit

Permalink
Use translation helper in app/views/users/new
Browse files Browse the repository at this point in the history
  • Loading branch information
kohgpat committed Aug 14, 2013
1 parent 7367975 commit 6c80607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id='clearance' class='sign-up'>
<h2>Sign up</h2>
<h2><%= t('.sign_up') %></h2>

<%= form_for @user do |form| %>
<%= render :partial => '/users/form', :object => form %>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/clearance.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ en:
new:
sign_in:
'Sign in'
sign_up:
'Sign up'

0 comments on commit 6c80607

Please sign in to comment.