Skip to content

Instantly share code, notes, and snippets.

@Reedyseth
Created June 30, 2016 00:31
Show Gist options
  • Select an option

  • Save Reedyseth/ee0216c9317c2dac946198a473f81532 to your computer and use it in GitHub Desktop.

Select an option

Save Reedyseth/ee0216c9317c2dac946198a473f81532 to your computer and use it in GitHub Desktop.
<div ng-controller="products_controller">
<div class="col-xs-5 col-sm-5 col-md-5 col-lg-5">
<form action="" method="POST" class="form-horizontal" role="form">
<div class="form-group">
<legend>Form title</legend>
</div>
<div class="form-group">
<label for="code">Code</label>
<input ng-model="product.code" type="text" name="code" id="code" class="form-control" value="" required="required" pattern="" title="">
</div>
<div class="form-group">
<label for="description">Description</label>
<input ng-model="product.description" type="text" name="description" id="description" class="form-control" value="" required="required" pattern="" title="">
</div>
<div class="form-group">
<label for="cost">Cost</label>
<input ng-model="product.cost" type="text" name="cost" id="cost" class="form-control" value="" required="required" pattern="" title="">
</div>
<div class="form-group">
<label for="quantity">Quantity</label>
<input ng-model="product.quantity" type="text" name="quantity" id="quantity" class="form-control" value="" required="required" pattern="" title="">
</div>
<div class="form-group">
<label for="currency">Currency</label>
<select ng-model="product.currency.id"></select>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div> <!-- End of form wrapper -->
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment