Advertisement
MartinYanchev-99

sessions/new.html.erb

Dec 15th, 2021
1,079
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <h1>Sign in </h1>
  2. <%= form_with url: sign_in_path, local: true do |form| %>
  3.    <div class="mb-3">
  4.     <%= form.label :email %>
  5.     <%= form.text_field :email,class: "form-control", placeholder: "example@gmail.com" %>
  6.     </div>
  7.     <div class="mb-3">
  8.     <%= form.label :password %>
  9.  
  10.     <%= form.password_field :password,class: "form-control" , placeholder: "password" %>
  11.     </div>  
  12.         <div class="mb-3">
  13.     <%= form.submit "Sign in", class: "btn btn-primary" %>
  14.     </div>
  15. <% end %>
Advertisement
RAW Paste Data Copied
Advertisement