scaffold models
This commit is contained in:
18
app/views/crm/customers/_form.html.erb
Normal file
18
app/views/crm/customers/_form.html.erb
Normal file
@@ -0,0 +1,18 @@
|
||||
<%= simple_form_for(@crm_customer) do |f| %>
|
||||
<%= f.error_notification %>
|
||||
|
||||
<div class="form-inputs">
|
||||
<%= f.input :name %>
|
||||
<%= f.input :company %>
|
||||
<%= f.input :contact_no %>
|
||||
<%= f.input :email %>
|
||||
<%= f.input :date_of_birth %>
|
||||
<%= f.association :membership %>
|
||||
<%= f.input :membership_type %>
|
||||
<%= f.input :membership_authentication_code %>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<%= f.button :submit %>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user