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

Version Path
authpwn_rails-0.23.0 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.22.1 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.22.0 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.21.1 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.21.0 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.20.0 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.19.0 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.18.2 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.18.1 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.18.0 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.17.2 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.17.1 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.17.0 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.16.2 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.16.1 lib/authpwn_rails/generators/templates/session/new.html.erb
authpwn_rails-0.16.0 lib/authpwn_rails/generators/templates/session/new.html.erb