Sha256: f196e73f7d2b2d5c15f2b44a1fab2719978152b35e74aa9a2a553b086ed5fe60

Contents?: true

Size: 1.29 KB

Versions: 5

Compression:

Stored size: 1.29 KB

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
invoice_bar-0.0.11 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.10 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.9 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.8 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.7 app/views/invoice_bar/accounts/_form.html.erb