<%= form_for(@account) do |f| %> <%= render 'invoice_bar/forms/errors', :model => @account %>
<%= f.label :name, t('attributes.account.name') %> <%= f.text_field :name, placeholder: t('attributes.account.name'), class: 'suggested' %>
<%= f.label :bank_account_number, t('attributes.account.bank_account_number') %> <%= f.text_field :bank_account_number, placeholder: t('attributes.account.bank_account_number') %>
<%= f.label :iban, t('attributes.account.iban') %> <%= f.text_field :iban, placeholder: t('attributes.account.iban') %>
<%= f.label :swift, t('attributes.account.swift') %> <%= f.text_field :swift, placeholder: t('attributes.account.swift') %>
<%= f.label :currency_id, t('attributes.account.currency_id') %> <%= f.collection_select :currency_id, @currencies, :id, :name %>
<%= f.hidden_field :user_id %> <%= f.submit t('buttons.save'), class: 'btn btn-primary' %> <% end %>