2016-04-29 04:57:04 +00:00
|
|
|
<div class="textfield field row"
|
2016-05-17 01:53:17 +00:00
|
|
|
on-enter-key="nextField()">
|
2015-10-30 21:40:22 +00:00
|
|
|
<div class="col-xs-12 field-title" ng-style="{'color': design.colors.questionColor}">
|
2015-07-30 00:22:53 +00:00
|
|
|
<h3>
|
2016-05-13 18:31:12 +00:00
|
|
|
<small class="field-number">
|
|
|
|
{{index+1}}
|
|
|
|
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
|
|
|
</small>
|
2016-06-01 01:06:45 +00:00
|
|
|
{{field.title}}
|
2016-04-29 03:45:00 +00:00
|
|
|
<span class="required-error" ng-show="!field.required">optional</span>
|
2015-07-30 00:22:53 +00:00
|
|
|
</h3>
|
2016-06-01 01:25:22 +00:00
|
|
|
<p class="col-xs-12">
|
|
|
|
<small>{{field.description}}</small>
|
|
|
|
</p>
|
2015-07-30 00:22:53 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 field-input">
|
2016-06-01 01:06:45 +00:00
|
|
|
|
|
|
|
<input-stars max="{{field.ratingOptions.steps}}"
|
2016-05-17 00:30:20 +00:00
|
|
|
ng-init="field.fieldValue = 1"
|
2016-05-13 23:52:28 +00:00
|
|
|
on-star-click="$root.nextField()"
|
2016-06-01 01:06:45 +00:00
|
|
|
icon-full="{{field.ratingOptions.shape}}"
|
2016-05-13 23:52:28 +00:00
|
|
|
icon-base="fa fa-3x"
|
2016-06-01 01:06:45 +00:00
|
|
|
icon-empty="{{field.ratingOptions.shape}}"
|
2016-05-13 23:52:28 +00:00
|
|
|
ng-model="field.fieldValue"
|
|
|
|
ng-model-options="{ debounce: 250 }"
|
|
|
|
ng-required="field.required"
|
|
|
|
ng-disabled="field.disabled"
|
|
|
|
class="angular-input-stars focusOn">
|
2015-07-29 17:45:24 +00:00
|
|
|
</input-stars>
|
|
|
|
</div>
|
|
|
|
</div>
|