Sha256: 666cfc61ad6209f773b9e4683638e5b6724d90a93dc66a66bce7d3198ea72409

Contents?: true

Size: 1.02 KB

Versions: 16

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 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', name: 'login', value: 'requested' %>
    <%= f.button 'Reset Password', 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 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.22.1 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.22.0 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.21.1 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.21.0 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.20.0 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.19.0 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.18.2 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.18.1 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.18.0 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.17.2 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.17.1 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.17.0 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.16.2 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.16.1 test/fixtures/bare_session/new.html.erb
authpwn_rails-0.16.0 test/fixtures/bare_session/new.html.erb