Sha256: 1a13249e8b6268889e802e937a3bbbb14d1a4f61a6504547075868b0b3507538
Contents?: true
Size: 861 Bytes
Versions: 1
Compression:
Stored size: 861 Bytes
Contents
<%= form_for(customer, url: url) do |f| %> <% if customer.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(customer.errors.count, "error") %> prohibited this customer from being saved:</h2> <ul> <% customer.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :email %><br> <%= f.email_field :email %> </div> <div class="field"> <%= f.label :account_balance %><br> <%= f.number_field :account_balance %> </div> <div class="field"> <%= f.label :business_vat_id %><br> <%= f.text_field :business_vat_id %> </div> <div class="field"> <%= f.label :description %><br> <%= f.text_field :description %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tang-0.0.1 | app/views/tang/admin/customers/_form.html.erb |