Advertisement
Guest User

Untitled

a guest
May 22nd, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.46 KB | None | 0 0
  1. <h1>Formulário de Login</h1>
  2. <% if flash[:alert] %>
  3.     <div class="alert"><%= flash[:alert] %></div>
  4. <% end %>
  5. <form method="POST" action="<% sessions_path %>">
  6.     <div class="field"><label for="username">Username</label> <input type="text" name="username" id="username" /></div>
  7.     <div class="field"><label for="password">Password</label> <input type="text" name="password" id="password" /></div>
  8.     <div class="field"><input type="submit" value="Login" /></div>
  9. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement