Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="login_form">
- <div class="flash">
- <%= render partial: 'layouts/flash_messages', locals: { flash_messages: flash } %>
- </div>
- <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
- <%= f.email_field :email, autofocus: true, placeholder: "Email" %>
- <%= f.password_field :password, placeholder: "Password" %>
- <%= f.button "Sign in" %>
- <% end %>
- <% if gave_wrong_password? %>
- <a href="/def456">Reset your password here!</a>
- <% elsif no_account_exists? %>
- <a href="/abc123">Create a new account here!</a>
- <% end %>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement