Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (32 sloc) 1.15 KB
<h3>User Info</h3>
<form class="familiar medium" method="post" action="/user/save">
<input type="hidden" name="id" id="id" value="{{}}"/>
<div class="field">
<label for="first-name" class="label">First Name:</label>
<input type="text" name="first-name" id="first-name" value="{{user.first-name}}"/>
<div class="field">
<label for="last-name" class="label">Last Name:</label>
<input type="text" name="last-name" id="last-name" value="{{user.last-name}}"/>
<div class="field">
<label for="email" class="label">Email:</label>
<input type="text" name="email" id="email" value="{{}}"/>
<div class="field">
<label for="department-id" class="label">Department:</label>
<select name="department-id" id="department-id">{%
for dept in departments
<option value="{{}}"{%
ifequal user.department-id
%} selected="selected"{%
endifequal %}>{{}}</option>{%
<div class="control">
<input type="submit" value="Save User"/>
You can’t perform that action at this time.