diff options
author | Azul <azul@leap.se> | 2014-05-24 10:33:31 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-26 13:01:34 +0200 |
commit | 4085e3fabef6427cd3f8be9b61c209bd82eaa595 (patch) | |
tree | f5ca512efd7d81c29a43dd846b60ad29074dae63 /app/views/users/new.html.haml | |
parent | 19bce0f114180f355f0df367cf6d21bd957734a6 (diff) |
navigation works with empty locale selected
Just in case some translation keys are not present things should still work and make sense.
So translation keys should be picked in a meaningful way and scoped rather than prefixed.
For example overview.account will turn into "Account" if no translation is present while "overview_account" will turn into "Overview Account". We usually want the former.
Diffstat (limited to 'app/views/users/new.html.haml')
-rw-r--r-- | app/views/users/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/new.html.haml b/app/views/users/new.html.haml index bc36068..41a9d55 100644 --- a/app/views/users/new.html.haml +++ b/app/views/users/new.html.haml @@ -17,5 +17,5 @@ = f.input :login, :label => t(:username), :required => false, :input_html => { :id => :srp_username } = f.input :password, :required => false, :validate => true, :input_html => { :id => :srp_password } = f.input :password_confirmation, :required => false, :validate => true, :input_html => { :id => :srp_password_confirmation } - = f.button :wrapped, value: t(:signup), cancel: home_path + = f.button :wrapped, cancel: home_path |