censis-obrand/dev-archive/censis/obrand/obrand-admin/app/templates/newcompany.hbs
2016-03-29 12:15:56 +01:00

63 lines
2.9 KiB
Handlebars

<!--<div class="container profileCard">-->
<div class="container profileCard">
<form {{action "saveCompany" on='submit'}} class="form-horizontal">
<div class="form-group">
<label for="company_name" class="col-sm-2 control-label">Company name:</label>
<div class="col-sm-10">
{{input id='company_name' placeholder='Company name' valueBinding=model.company_name class="form-control" required="required"}}
</div>
</div>
<br/>
<div class="form-group">
<label for="address1" class="col-sm-2 control-label">Address:</label>
<div class="col-sm-10">
{{input id='address1' placeholder='Address' valueBinding=model.address1 class="form-control" required="required"}}
{{input id='address2' placeholder='Address' valueBinding=model.address2 class="form-control" }}
{{input id='address3' placeholder='Address' valueBinding=model.address3 class="form-control" }}
</div>
</div>
<br/>
<div class="form-group">
<label for="town" class="col-sm-2 control-label">Town:</label>
<div class="col-sm-10">
{{input id='town' placeholder='Town' valueBinding=model.town class="form-control" required="required"}}
</div>
<label for="county" class="col-sm-2 control-label">County:</label>
<div class="col-sm-10">
{{input id='county' placeholder='County' valueBinding=model.county class="form-control" }}
</div>
<label for="postcode" class="col-sm-2 control-label">Postcode:</label>
<div class="col-sm-10">
{{input id='postcode' placeholder='Postcode' valueBinding=model.postcode class="form-control" required="required"}}
</div>
</div>
<br/>
<div class="form-group">
<label for="pcontact" class="col-sm-2 control-label">Primary Contact:</label>
<div class="col-sm-10">
{{input id='pcontact' placeholder='Primary contact number' valueBinding=model.pcontact class="form-control" required="required"}}
</div>
<label for="ocontact" class="col-sm-2 control-label">Other Contact:</label>
<div class="col-sm-10">
{{input id='ocontact' placeholder='Other contact phone number' valueBinding=model.ocontact class="form-control" }}
</div>
<label for="mobile" class="col-sm-2 control-label">Mobile:</label>
<div class="col-sm-10">
{{input id='mobile' placeholder='Mobile phone' valueBinding=model.mobile class="form-control" }}
</div>
</div>
<br/>
<div class="form-group">
<label for="email" class="col-sm-2 control-label">Email:</label>
<div class="col-sm-10">
{{input id='email' placeholder='Contact email address' valueBinding=model.email class="form-control" required="required"}}
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Save</button>
</div>
</div>
</form>
</div>