mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
fa9df65ddf
Transition markup from pre-Angular to complete toolbar template, WTD-684.
31 lines
930 B
HTML
31 lines
930 B
HTML
<form name="tool-bar btn-bar contents" novalidate>
|
|
|
|
<div class="form">
|
|
<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>
|
|
|
|
</span>
|
|
</div>
|
|
|
|
</form> |