Skip to content

Commit aa81f65

Browse files
committedMay 23, 2016
Merge pull request #14 from stand579/add-missing-feedback-flag
Add missing feedback flag
2 parents ccfe626 + 63cab9f commit aa81f65

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed
 

‎gulp/tasks/serve.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
var gulp = require('gulp'),
2+
webserver = require('gulp-webserver');
3+
4+
gulp.task('serve', function() {
5+
gulp.src('.')
6+
.pipe(webserver({
7+
livereload: true,
8+
directoryListing: true,
9+
open: true
10+
}));
11+
});
12+

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"gulp-uglify": "^1.2.0",
2323
"gulp-umd": "^0.2.0",
2424
"gulp-watch": "^4.2.4",
25+
"gulp-webserver": "^0.9.1",
2526
"streamqueue": "^0.1.3"
2627
}
2728
}

‎src/default.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}"
2-
ng-class="{'has-error': form.disableErrorState !== true && hasError(), 'has-success': form.disableSuccessState !== true && hasSuccess(), 'has-feedback': form.feedback !== false }">
1+
<div class="form-group {{form.htmlClass}}"
2+
ng-class="{ '{{'schema-form-' + form.type}}': true, 'has-error': form.disableErrorState !== true && hasError(), 'has-success': form.disableSuccessState !== true && hasSuccess(), 'has-feedback': form.feedback !== false }">
33
<label class="control-label {{form.labelHtmlClass}}" ng-class="{'sr-only': !showTitle()}" for="{{form.key.slice(-1)[0]}}">{{form.title}}</label>
44

55
<input ng-if="!form.fieldAddonLeft && !form.fieldAddonRight"

0 commit comments

Comments
 (0)
Please sign in to comment.