+ <%= simple_form_for crm_customers_path, :html => { :class => 'form-horizontal' } do |f| %>
+
+
+ <%= f.input :name, :class => "form-control col-md-6" %>
+
+
+ <%= f.input :company, :class => "form-control col-md-6" %>
+
+
+ <%= f.input :contact_no, :class => "form-control col-md-6" %>
+
+
+ <%= f.input :email, :class => "form-control col-md-6" %>
+
-<%= link_to 'New Crm Customer', new_crm_customer_path %>
+
+
+ <%= f.text_field :date_of_birth,:class=>"form-control datepicker",:readonly =>true, :value => @date_of_birth%>
+
+
+
+
+ <%= f.select :membership_id, options_for_select(@membership.collect { |member|
+ [member["name"], member["id"]] }, 1), {}, { id: 'countries_select' } %>
+
+
+
+
+
+ <%= f.input :membership_type, :class => "form-control col-md-6" %>
+
+
+ <%= f.input :membership_authentication_code, :class => "form-control col-md-6" %>
+
+
+
+ <%= f.button :submit, "Submit", :class => 'btn btn-primary' , :id => 'submit_account' %>
+
+ <%end%>
+