Skip to content

Instantly share code, notes, and snippets.

@liorkesos
Created June 5, 2014 07:04
Show Gist options
  • Save liorkesos/1d149a5c8758b78eb3a7 to your computer and use it in GitHub Desktop.
Save liorkesos/1d149a5c8758b78eb3a7 to your computer and use it in GitHub Desktop.
<section data-ng-controller="InstallationsController">
<form name="articleForm" class="form-horizontal col-md-6" role="form" data-ng-submit="articleForm.$valid && create()" novalidate>
<div class="form-group">
<label mean-token="'create-title'" class="col-md-3 control-label">Title</label>
<div class="col-md-9">
<input type="text" class="form-control" data-ng-model="title" id="title" placeholder="Title" required>
</div>
</div>
<div class="form-group">
<label mean-token="'create-content'" for="content" class="col-md-3 control-label">Content</label>
<div class="col-md-9">
<textarea data-ng-model="content" id="content" cols="30" rows="10" placeholder="Content" class="form-control" required></textarea>
</div>
</div>
<div class="form-group">
<div class="col-md-offset-3 col-md-9">
<button type="submit" class="btn btn-info">Submit</button>
</div>
</div>
</form>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment