Sha256: 12e40a4fcd62d4f6f486b9a23eb3f3ab6b92e41c95fb5f567f61f3403ee851d6

Contents?: true

Size: 1.1 KB

Versions: 6

Compression:

Stored size: 1.1 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>
  <%= f.hidden_field :user_id %>
  <%= f.submit t('buttons.save'), class: 'btn btn-primary' %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
invoice_bar-0.0.6 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.5 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.4 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.3 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.2 app/views/invoice_bar/accounts/_form.html.erb
invoice_bar-0.0.1 app/views/invoice_bar/accounts/_form.html.erb