Sha256: 09284b2fff42f5cd234b12b54f093afa398915f22adc1cd0b83f90a180d865ba
Contents?: true
Size: 1.31 KB
Versions: 7
Compression:
Stored size: 1.31 KB
Contents
<% content_for :title do %> <h1 class="project-banner space-below"> Sign in </h1> <% end %> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => "form-horizontal"}) do |f| %> <fieldset> <% if Houston.config.authentication_strategy_configuration[:instructions] %> <div class="control-group"> <div class="controls"> <em><%= Houston.config.authentication_strategy_configuration[:instructions] %></em> </div> </div> <% end %> <div class="control-group"> <%= f.label :email, "Username or Email", :class => 'control-label' %> <div class="controls"> <%= f.text_field :email, :class => 'text_field' %> </div> </div> <div class="control-group"> <%= f.label :password, :class => 'control-label' %> <div class="controls"> <%= f.password_field :password, :class => 'text_field' %> </div> </div> <% if devise_mapping.rememberable? -%> <div class="control-group"> <div class="controls remember-me"> <%= f.check_box :remember_me %> <%= f.label :remember_me %> </div> </div> <% end -%> <div class="form-actions"> <%= f.submit "Sign in", :class => "btn btn-primary" %> <%= render "links" %> </div> </fieldset> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems