Commit f95b3ea

mo khan <mo@mokhan.ca>
2014-04-09 04:03:40
include the email and password on login.
1 parent 9fcc169
Changed files (1)
app
views
app/views/logins/new.html.erb
@@ -4,8 +4,8 @@
   <div class="col-md-4">
     <%= form_tag logins_path, method: :post, class: 'form-signin', role: 'form' do %>
       <h2 class="form-signin-heading">Please sign in</h2>
-      <input type="email" class="form-control" placeholder="Email address" required autofocus>
-      <input type="password" class="form-control" placeholder="Password" required>
+      <input type="email" name="email" class="form-control" placeholder="Email address" required autofocus>
+      <input type="password" name="password" class="form-control" placeholder="Password" required>
       <label class="checkbox">
         <input type="checkbox" value="remember-me"> Remember me
       </label>