<h2><%= controller.contactLbl %></h2>
<%= form_tag({:controller => controller_name, :action => 'update'}, :method => :post, :id => 'query_form') do %>
<%= hidden_field_tag 'contact_id', @conEditEntry.blank? ? "" : @conEditEntry.id %>
<%= hidden_field_tag('address_id', @conEditEntry.blank? ? "" : @conEditEntry.address_id) %>
<div id="account_form">
	<% addressObj =  @conEditEntry.blank? ?  nil : @conEditEntry.address  %>
	<div class="splitcontent">
		<div class="splitcontentleft">
			<%= render partial: "wklead/lead_info", locals: { contactObj: @conEditEntry.blank? ? nil : @conEditEntry, leadObj: nil, accountObj: nil, isAccount: false, isContact: true }%>
		</div>
		<div class="splitcontentright">
			<%= render partial: "wklead/contact_info", locals: { address: addressObj, :disable => false, showMap: true }%>
		</div>
	</div>
</div>
<div style="clear:both;"></div>
<%= call_hook(:additional_contact_info,  {:address => addressObj, :contactObj => @conEditEntry.blank? ? nil : @conEditEntry}) %>
<div style="float:left; ">
	<%= submit_tag l(:button_save) ,:id => 'wkcontact_save'%>
</div>
<div style="clear:both;"></div>
<% end %>
<% unless @conEditEntry.blank? %>
	</br>
	<div>
		<%= render partial: "wkcrm/accordion_section", locals: { currentObj: @conEditEntry }%>
	</div>
<% end %>