Skip to content

Instantly share code, notes, and snippets.

@krams915
Created January 20, 2012 08:49
Show Gist options
  • Save krams915/1646192 to your computer and use it in GitHub Desktop.
Save krams915/1646192 to your computer and use it in GitHub Desktop.
<div id='newForm'>
<form>
<fieldset>
<legend>Create New Record</legend>
<label for='newUsername'>Username</label><input type='text' id='newUsername'/><br/>
<label for='newPassword'>Password</label><input type='password' id='newPassword'/><br/>
<label for='newFirstName'>First Name</label><input type='text' id='newFirstName'/><br/>
<label for='newLastName'>Last Name</label><input type='text' id='newLastName'/><br/>
<label for='newRole'>Role</label>
<select id='newRole'>
<option value='1'>Admin</option>
<option value='2' selected='selected'>Regular</option>
</select>
</fieldset>
<input type='button' value='Close' id='closeNewForm' />
<input type='submit' value='Submit'/>
</form>
</div>
<div id='editForm'>
<form>
<fieldset>
<legend>Edit Record</legend>
<input type='hidden' id='editUsername'/>
<label for='editFirstName'>First Name</label><input type='text' id='editFirstName'/><br/>
<label for='editLastName'>Last Name</label><input type='text' id='editLastName'/><br/>
<label for='editRole'>Role</label>
<select id='editRole'>
<option value='1'>Admin</option>
<option value='2' selected='selected'>Regular</option>
</select>
</fieldset>
<input type='button' value='Close' id='closeEditForm' />
<input type='submit' value='Submit'/>
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment