Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This:
- <%= form_tag :action => 'process_login' %>
- <p>Username: <%= text_field_tag 'username' %></p>
- <p>Password: <%= password_field_tag 'password' %></p>
- <%= submit_tag 'Submit' %>
- <%= end_form_tag %>
- # Produces:
- #<form action="/admin/nominees/process_login" method="post">
- # <p>Username: <input id="username" name="username" type="text" /></p>
- #
- # <p>Password: <input id="password" name="password" type="password" /></p>
- #
- # <input name="commit" type="submit" value="Submit" />
- #</form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement