<%= form_for @user, :class => 'form-horizontal' do |f| %> <%= render 'invoice_bar/forms/errors', :model => @user %>

Konto

<%= f.label :email, t('attributes.user.email') %> <%= f.text_field :email, placeholder: t('attributes.user.email'), class: 'suggested' %>
<%= f.label :password, t('attributes.user.password') %> <%= f.text_field :password, placeholder: t('attributes.user.password'), class: 'suggested' %>
<%= f.label :name, t('attributes.user.name') %> <%= f.text_field :name, placeholder: t('attributes.user.name'), class: 'suggested' %>
<%= f.label :ic, t('attributes.user.ic') %> <%= f.text_field :ic, placeholder: t('attributes.user.ic'), class: 'suggested' %>

Adresa

<%= f.fields_for :address do |f| render 'invoice_bar/forms/address_fields', f: f end -%>
<%= f.submit I18n.t('buttons.signup'), :class => 'btn' %>
<% end %>