Customer new/edit pages in Redmine's form style

- labelled_form_for with Redmine's "box tabular" layout: labels on the
  left, Display name marked required
- Breadcrumb headings ("Customers » customer"), Create/Save buttons and
  a Cancel link back to the customer (or the customer list)
- Keeps the form tag in the partial and the customer_name / customer_notes
  ids used by redmine_qbo_calendar's quick-create popup (hide_submit /
  hide_toolbar still supported)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
Claude committed 2026-10-29 23:23:18 -04:00
1 parent 0dd3073841
commit b99887362f
3 files changed
+32 -41

No files matched your search

+4 -2
View File
@@ -1,3 +1,5 @@
<h1><%=t(:label_edit_customer)%></h1>
<br/>
<h2><%= link_to l(:label_customers), customers_path %> &#187; <%= link_to @customer.to_s, customer_path(@customer) %></h2>
<%= render partial: 'customers/form' %>
<% html_title(l(:label_edit_customer)) -%>