From 7d3c21771f9fa10570b2834c941f6dc8cb82506b Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 2 May 2016 09:24:52 -0400 Subject: [PATCH] Create _form.html.erb --- app/views/customers/_form.html.erb | 49 ++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 app/views/customers/_form.html.erb diff --git a/app/views/customers/_form.html.erb b/app/views/customers/_form.html.erb new file mode 100644 index 0000000..13823fe --- /dev/null +++ b/app/views/customers/_form.html.erb @@ -0,0 +1,49 @@ +
+
+
+ + <%= form_for @customer do |f| %> + +
+ Display Name: +
+ <%= f.text_field :display_name, :required => true %> +
+
+ +
+ Phone Number: +
+ <%= f.telephone_field :primary_phone %> +
+
+ +
+ Mobile Phone Number: +
+ <%= f.telephone_field :mobile_phone %> +
+
+ +
+ Email: +
+ <%= f.email_field :email %> +
+
+ +
+ Notes: +
+ <%= f.text_area :notes, :rows => 6, :class => 'wiki-edit', :accesskey => accesskey(:edit), :cols => 60%> +
+
+ +
+ <%= f.submit %> +
+ <% end %> + +
+
+