{{#if isEditing}}
{{input id='company_name' placeholder='Company name' value=model.company_name class="form-control" required="required"}}

{{input id='address1' placeholder='Address' value=model.address1 class="form-control" required="required"}} {{input id='address2' placeholder='Address' value=model.address2 class="form-control" }} {{input id='address3' placeholder='Address' value=model.address3 class="form-control" }}

{{input id='town' placeholder='Town' value=model.town class="form-control" required="required"}}
{{input id='county' placeholder='County' value=model.county class="form-control" }}
{{input id='postcode' placeholder='Postcode' value=model.postcode class="form-control" required="required"}}

{{input id='pcontact' placeholder='Primary contact number' value=model.pcontact class="form-control" required="required"}}
{{input id='ocontact' placeholder='Other contact phone number' value=model.ocontact class="form-control" }}
{{input id='mobile' placeholder='Mobile phone' value=model.mobile class="form-control" }}

{{input id='email' placeholder='Contact email address' value=model.email class="form-control" required="required"}}
 
{{#if isEditing}}   {{/if}}
{{else}}

{{model.company_name}}

Address
{{model.address1}}
{{model.address2}}
{{model.address3}}
Town
{{model.town}}
County
{{model.county}}
Postcode
{{model.postcode}}
Primary contact
{{model.pcontact}}
Secondary contact
{{model.ocontact}}
Mobile
{{model.mobile}}
Email
{{model.email}}
{{/if}}
{{#if isEditing}} {{else}}   {{/if}}