<ol class="breadcrumb">
	<li><a href="#/">Dashboard</a></li>
	<li>Settings</li>
	<li class="active">Nexmo Text Message</li>
</ol>

<div class="container-fluid">
	<div class="row">
		<div class="col-md-12">
			<form name="form" class="form-horizontal" ng-submit="vm._save(vm.setting)" novalidate>
				<div class="panel panel-midnightblue">
					<div class="panel-heading">
						<h2>Nexmo Text Message</h2>
					</div>
					<div class="panel-body">
						<p>Fields with <span style="color: #cc0000;">*</span> are required.</p>
						<div class="form-group">
							<label for="active" class="col-sm-2 control-label">Active <span style="color: #cc0000;">*</span></label>
							<div class="col-sm-8">
								<select class="form-control" name="active" id="active" ng-model="vm.setting.active" ng-required="true">
									<option value="">-- Select --</option>
									<option value="1">Yes</option>
									<option value="0">No</option>
								</select>
							</div>
						</div>
						<div class="form-group">
							<label for="virtual_number" class="col-sm-2 control-label">Virtual Number</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="virtual_number" id="virtual_number" ng-model="vm.setting.virtual_number">
							</div>
						</div>
						<div class="form-group">
							<label for="api_key" class="col-sm-2 control-label">API Key</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="api_key" id="api_key" ng-model="vm.setting.api_key">
							</div>
						</div>
						<div class="form-group">
							<label for="api_secret" class="col-sm-2 control-label">API Secret</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" name="api_secret" id="api_secret" ng-model="vm.setting.api_secret">
							</div>
						</div>
					</div>
					<div class="panel-footer">
						<div class="row">
							<div class="col-sm-8 col-sm-offset-2">
								<button type="submit" ng-disabled="!form.$valid" class="btn-primary btn">Save</button>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
