Skip to content

Instantly share code, notes, and snippets.

@markbates
Created October 22, 2008 17:30
Show Gist options
  • Save markbates/18704 to your computer and use it in GitHub Desktop.
Save markbates/18704 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>users: edit</title>
<link href="/stylesheets/scaffold.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div><h1>Edit User</h1>
<pre>#<User level = 2, id = 2>
</pre>
<form action="/users/2" class="edit_user" id="edit_user" method="post">
<input name="_method" type="hidden" value="put" />
<input type="hidden" name="__authenticity_token" value="23d03b8b39cd90ebafdac7453021997491a2642c" /> <p>
1: <label for="user_level">Level</label><input id="user_level" name="user[level]" type="radio" value="1" />
2: <label for="user_level">Level</label><input checked="checked" id="user_level" name="user[level]" type="radio" value="2" />
</p>
<p>
<button type="submit">Update</button>
</p>
</form>
<a href="/users">Back</a>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment