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"
|
|
|
|
title="section.description">
|
|
|
|
|
|
|
|
<ng-form ng-repeat="item in section.items"
|
|
|
|
ng-class="{ 'input-labeled': item.name }"
|
|
|
|
class="inline"
|
|
|
|
title="item.description"
|
|
|
|
name="mctFormInner">
|
|
|
|
|
|
|
|
<label ng-if="item.name">
|
|
|
|
{{item.name}}:
|
|
|
|
</label>
|
|
|
|
<mct-control key="item.control"
|
|
|
|
ng-model="ngModel"
|
|
|
|
ng-required="item.required"
|
|
|
|
ng-pattern="getRegExp(row.pattern)"
|
|
|
|
options="item.options"
|
|
|
|
structure="item"
|
|
|
|
field="item.key">
|
|
|
|
</mct-control>
|
|
|
|
|
|
|
|
</ng-form>
|
2015-01-15 22:23:01 +00:00
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|