generator-angular-material-fullstack
Version:
Yeoman generator for creating MEAN stack applications, using MongoDB, Express, AngularJS, and Node
17 lines (16 loc) • 643 B
text/jade
md-dialog(aria-label='List dialog')
md-dialog-content
h2.md-title
| Set a description for the new thing
form(name='projectForm')
md-input-container
label Description
input(md-maxlength='30', required='', name='description', ng-model='newThing')
div(ng-messages='projectForm.description.$error')
div(ng-message='required') This is required.
div(ng-message='md-maxlength') The name has to be less than 30 characters long.
.md-actions
md-button.md-primary(ng-click='closeDialog()')
| Cancel
md-button.md-primary(ng-click='addThing()')
| Save