Sha256: 0e2ab23250ec84f72a19cd8476bf0bfdc48efcd6510c31f786b08b8453ca83b1
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 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 log in before we can show you the page that you are trying to view. </p> <% end %> <%= form_tag session_path do %> <div class="field"> <%= label_tag :email, 'Email Address' %><br /> <span class="value"> <%= email_field_tag :email, @email, autofocus: true, required: true, placeholder: 'your@email.com' %> </span> </div> <div class="field"> <%= label_tag :password %><br /> <span class="value"> <%= password_field_tag :password %> </span> </div> <div class="actions"> <%= button_tag 'Log in', name: 'login', value: 'requested' %> <%= button_tag 'Reset Password', name: 'reset_password', value: 'requested', formaction: reset_password_session_path %> <% if @redirect_url %> <%= hidden_field_tag :redirect_url, @redirect_url %> <% end %> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems