	<div class="modal-header">
		<button type="button" class="close" data-ng-click="cancel()">×</button>
		<h3 class="modal-title" data-ng-hide="data.id"><i class="fa fa-plus"></i> Add a new supplier</h3>
		<h3 class="modal-title" data-ng-show="data.id"><i class="fa fa-pencil"></i> Edit supplier</h3>
	</div>
	<form class="form-horizontal" data-ng-submit="save()">
		<div class="modal-body">
			<div class="form-group">
				<label class="col-sm-3 control-label" for="inputName">Name</label>
				<div class="col-sm-9">
					<input id="inputName"class="form-control" type="text" name="name" ng-model="data.name" required>
				</div>
			</div>
		</div>
		<div class="modal-footer">
			<button class="btn btn-default" data-ng-click="cancel()" eat-click>Close</button>
			<button class="btn btn-primary" data-ng-hide="data.id">Add new supplier</button>
			<button class="btn btn-warning" data-ng-show="data.id">Save changes</button>
		</div>
</form>