Sha256: 3b10cbf2165fbeeda0685d57136a5b422704be89bd82fdfc88a083362caad6de
Contents?: true
Size: 1.06 KB
Versions: 16
Compression:
Stored size: 1.06 KB
Contents
<% if flash[:notice] %> <p class="notice"><%= flash[:notice] %></p> <% end %> <% if flash[:alert] %> <p class="alert"><%= flash[:alert] %></p> <% end %> <% if @redirect_url %> <p> We need you to sign in before we can show you the page that you are trying to view. </p> <% end %> <%= form_for @session, url: session_path do |f| %> <div class="field"> <%= f.label :email, 'Email Address' %><br /> <span class="value"> <%= f.email_field :email, autofocus: true, required: true, placeholder: 'your@email.com' %> </span> </div> <div class="field"> <%= f.label :password %><br /> <span class="value"> <%= f.password_field :password %> </span> </div> <div class="actions"> <%= f.button 'Sign In', type: 'submit', name: 'login', value: 'requested' %> <%= f.button 'Reset Password', type: 'submit', name: 'reset_password', value: 'requested', formaction: reset_password_session_path %> </div> <% if @redirect_url %> <%= hidden_field_tag :redirect_url, @redirect_url %> <% end %> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems