diff options
author | Azul <azul@leap.se> | 2014-04-24 10:24:24 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-24 10:27:28 +0200 |
commit | dad200e2cb0b03995eb06024d3fcf788ad2486ff (patch) | |
tree | 5d90358df0be3da503723993ad88426a3345c70a /app | |
parent | 8078cf0f853310cfb0d0681db45effb96850efc9 (diff) |
add signup and login info on the forms
Diffstat (limited to 'app')
-rw-r--r-- | app/views/sessions/new.html.haml | 1 | ||||
-rw-r--r-- | app/views/users/new.html.haml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/sessions/new.html.haml b/app/views/sessions/new.html.haml index 771dc97..316eec1 100644 --- a/app/views/sessions/new.html.haml +++ b/app/views/sessions/new.html.haml @@ -2,6 +2,7 @@ .span9 = render :partial => 'users/warnings' %h2=t :login + .lead=t :login_info = simple_form_for [:api, @session], :validate => true, :html => { :id => :new_session, :class => 'form-horizontal' } do |f| = f.input :login, :required => false, :label => t(:username), :input_html => { :id => :srp_username } = f.input :password, :required => false, :input_html => { :id => :srp_password } diff --git a/app/views/users/new.html.haml b/app/views/users/new.html.haml index aecf831..173dd8c 100644 --- a/app/views/users/new.html.haml +++ b/app/views/users/new.html.haml @@ -8,8 +8,8 @@ .span9 = render :partial => 'warnings' %h2=t :signup + .lead=t :signup_info = simple_form_for(@user, form_options) do |f| - %legend= t(:signup_message) = 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 } |