Created
April 27, 2020 09:13
-
-
Save DavertMik/9e3e93d2a0860389e193c36665b1e712 to your computer and use it in GitHub Desktop.
Form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action="/update" id="update_form"> | |
<label for="user_name">Name</label> | |
<input type="text" name="user[name]" id="user_name" /> | |
<label for="user_email">Email</label> | |
<input type="text" name="user[email]" id="user_email" /> | |
<label for="user_role">Role</label> | |
<select id="user_role" name="user[role]"> | |
<option value="0">Admin</option> | |
<option value="1">User</option> | |
</select> | |
<input type="submit" name="submitButton" value="Update" /> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment