<%= error_messages_for 'user' %>

<!--[user:user]-->
<div class="articles">
<label for="user_name">UserName</label><br/>
<%= text_field 'user', 'name'  %>
</div>

<div class="articles">
<label for="password">Password</label><br/>
<%= password_field 'user', 'password'  %>
</div>

<div class="articles">
<label for="password">Confirm Password</label><br/>
<%= password_field 'user', 'password_confirmation'  %>
</div>

<div class="blue" onclick="Element.toggle('advanced')"><a href="#">Advanced &raquo;</a></div>
<div class="articles" id="advanced">

<p><label for="user_email">Email</label><br/>
<%= text_field 'user', 'email'  %></p>

<p><label for="user_first_name">First name</label><br/>
<%= text_field 'user', 'first_name'  %></p>

<p><label for="user_last_name">Last name</label><br/>
<%= text_field 'user', 'last_name'  %></p>

<p><label for="user_description">Description</label><br/>
<%= text_area 'user', 'description', :cols => 63, :rows => 10  %></p>

<p><label for="user_photo">Photo (href)</label><br/>
<%= text_field 'user', 'photo'  %></p>

</div>

<br />

<script type="text/javascript">
$('advanced').style.display = "none";
</script>
<!--[eouser:user]-->

