Sha256: 51be61ca5e98d760240e8979a0955f1a84cc6398e52042a540cf91e7e2b48e56

Contents?: true

Size: 741 Bytes

Versions: 1

Compression:

Stored size: 741 Bytes

Contents

<p>This is a sample login form. You should customize it for your users.</p>

<% if flash[:notice] %>
<p class="notice"><%= flash[:notice] %></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 :url => session_path do %>
  <div class="field">
    <%= label_tag :email, 'Email Address' %><br />
    <%= email_field_tag :email, @email %>
  </div>
  
  <div class="field">
    <%= label_tag :password %><br />
    <%= password_field_tag :password %>
  </div>
  
  <div class="actions">
    <%= submit_tag 'Log in' %>
    
    <% if @redirect_url %>
    <%= hidden_field_tag :redirect_url, @redirect_url %>
    <% end %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authpwn_rails-0.10.0 lib/authpwn_rails/generators/templates/session/new.html.erb