latest changes introduced with cursor
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<% [:client, :owner, :builder].each do |role| %>
|
||||
<div>
|
||||
<%= sp_form.label "#{role}_id", "Select Existing #{role.capitalize}" %>
|
||||
<%= sp_form.collection_select "#{role}_id", Client.all, :id, -> (client) { "#{client.company_name} (#{client.lastname}, #{client.firstname})" }, prompt: "Select #{role.capitalize}" %>
|
||||
<%= sp_form.collection_select "#{role}_id", clients, :id, :display_name, prompt: "Select #{role.capitalize}" %>
|
||||
|
||||
<fieldset>
|
||||
<legend>Or Create New <%= role.capitalize %></legend>
|
||||
|
||||
Reference in New Issue
Block a user