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 %> + +
+
+