diff options
author | gitlabhq <m@gitlabhq.com> | 2011-10-28 19:25:00 +0400 |
---|---|---|
committer | gitlabhq <m@gitlabhq.com> | 2011-10-28 19:25:00 +0400 |
commit | 5d879a06433df6849e8c332e65bafdd8a1948ff0 (patch) | |
tree | 060e0421a8bb07d7ebc83136bfe36e4d402b683b /app/views/devise | |
parent | 487ae906a948e72429c60a1b5abe9508ed516a32 (diff) |
signin page
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/sessions/new.html.erb | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 21de54f0c4c..c2c6562d01d 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,20 +1,12 @@ -<h2>Sign in</h2> +<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login-box" }) do |f| %> + <%= image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo" %> + <%= f.text_field :email, :class => "text top" %> + <%= f.password_field :password, :class => "text bottom" %> -<div class="span-12 colborder"> - <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> - <div><%= f.label :email %><br /> - <%= f.text_field :email %></div> - - <div><%= f.label :password %><br /> - <%= f.password_field :password %></div> - - <% if devise_mapping.rememberable? -%> - <div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div> - <% end -%> - <br/> - <div><%= f.submit "Sign in", :class => "lbutton vm" %></div> - <% end %> -</div> -<div> - <%= render :partial => "devise/shared/links" %> -</div> + <% if devise_mapping.rememberable? -%> + <div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div> + <% end -%> + <br/> + <%= f.submit "Sign in", :class => "grey-button" %> + <div class="right"> <%= render :partial => "devise/shared/links" %></div> +<% end %> |