mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-17 18:20:36 -05:00
44 lines
1.3 KiB
ERB
44 lines
1.3 KiB
ERB
<%= form_for @customer do |f| %>
|
|
<%= error_messages_for 'customer' %>
|
|
|
|
<div class="box tabular">
|
|
|
|
<p>
|
|
<%= f.label :name, t(:label_display_name) %>
|
|
<%= f.text_field :name, required: true, class: "customer-name", autocomplete: "off", data: { autocomplete_url: "/customers/autocomplete" } %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label :primary_phone, t(:label_primary_phone) %>
|
|
<%= f.telephone_field :primary_phone, autocomplete: "off" %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label :mobile_phone, t(:label_mobile_phone) %>
|
|
<%= f.telephone_field :mobile_phone, autocomplete: "off" %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label :email, t(:label_email) %>
|
|
<%= f.email_field :email, autocomplete: "off" %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= f.label :notes, t(:field_notes) %>
|
|
<%= f.text_area :notes,
|
|
rows: 8,
|
|
class: 'wiki-edit',
|
|
style: 'width: 99%;',
|
|
id: 'customer_notes' %>
|
|
<% unless local_assigns[:hide_toolbar] %>
|
|
<%= wikitoolbar_for 'customer_notes' %>
|
|
<% end %>
|
|
</p>
|
|
</div>
|
|
|
|
<% unless local_assigns[:hide_submit] %>
|
|
<p class="buttons">
|
|
<%= submit_tag t(:button_save) %>
|
|
</p>
|
|
<% end %>
|
|
<% end %> |