<div class="modal-header">
	<h3 class="modal-title">Send text message</h3>
</div>
<form name="smsForm" class="form-horizontal">
	<div class="modal-body">
		<div class="form-group">
			<label class="col-sm-3 control-label label-required" for="inputTo">Sent To:</label>
			<div class="col-sm-9">
				<input type="text" class="form-control" name="send_to" ng-model="data.send_to" id="inputTo" numbers-only required>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label label-required" for="inputMessage">Message:</label>
			<div class="col-sm-9">
				<textarea name="message" class="form-control" ng-model="data.message" id="inputMessage" rows="4" required></textarea>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-default" ng-click="cancel()">Cancel</button>
		<button class="btn btn-primary" ng-disabled="smsForm.$invalid || sending" ng-click="submit()"><i class="fa fa-spinner fa-spin" data-ng-if="sending"></i> Send SMS</button>
	</div>
</form>