<% attributes.each do |attribute| -%>
<% if attribute.password_digest? -%> {#if $form.errors.password}
{$form.errors.password.join(', ')}
{/if}
{#if $form.errors.password_confirmation}
{$form.errors.password_confirmation.join(', ')}
{/if} <% else -%> <% if input_type(attribute) == "text_area" -%>