2015-01-15 23:06:40 +00:00
|
|
|
<form name="tool-bar btn-bar contents" novalidate>
|
2015-01-15 22:23:01 +00:00
|
|
|
|
|
|
|
<div class="form">
|
2015-01-15 23:06:40 +00:00
|
|
|
<span ng-repeat="section in structure.sections"
|
|
|
|
class="control-group coordinates"
|
2015-02-23 23:57:45 +00:00
|
|
|
ng-if="!section.hidden"
|
2015-01-15 23:26:27 +00:00
|
|
|
title="{{section.description}}">
|
2015-01-15 23:06:40 +00:00
|
|
|
|
|
|
|
<ng-form ng-repeat="item in section.items"
|
|
|
|
ng-class="{ 'input-labeled': item.name }"
|
2015-02-23 23:57:45 +00:00
|
|
|
ng-hide="item.hidden"
|
2015-01-15 23:06:40 +00:00
|
|
|
class="inline"
|
2015-01-15 23:26:27 +00:00
|
|
|
title="{{item.description}}"
|
2015-01-15 23:06:40 +00:00
|
|
|
name="mctFormInner">
|
|
|
|
|
|
|
|
<label ng-if="item.name">
|
|
|
|
{{item.name}}:
|
|
|
|
</label>
|
|
|
|
<mct-control key="item.control"
|
2015-01-15 23:45:19 +00:00
|
|
|
ng-class="{ disabled: item.disabled }"
|
2015-01-15 23:06:40 +00:00
|
|
|
ng-model="ngModel"
|
|
|
|
ng-required="item.required"
|
2015-01-15 23:45:19 +00:00
|
|
|
ng-pattern="getRegExp(item.pattern)"
|
2015-01-15 23:06:40 +00:00
|
|
|
options="item.options"
|
|
|
|
structure="item"
|
|
|
|
field="item.key">
|
|
|
|
</mct-control>
|
|
|
|
|
|
|
|
</ng-form>
|
2015-01-15 22:23:01 +00:00
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|