<%= @form.label @field.id, @field.name %> <% if @field.required %> * <% end %>
<%= content %> <% if @model.present? and @model.errors.include? @field.id %>
<%= @model.errors.full_messages_for(@field.id).to_sentence %>
<% end %> <% if @field.help %>
<%== @field.help %>
<% end %>