051ded036233a8a4c6ae736e5556c48a67450901
[motion2.git] /
1 <md-input-container class="matrix-container md-block" layout="column">
2   <div class="matrix">
3     <div class="matrix-row" flex layout="row">
4       <span class="matrix-cell" flex="20"></span>
5       <span
6         class="matrix-cell matrix-cell-header"
7         flex
8         ng-repeat="column in MatrixView.formItem.config.columns track by $index"
9         >{{column.value}}</span
10       >
11     </div>
12     <div
13       class="matrix-row"
14       ng-repeat="row in MatrixView.formItem.config.rows track by $index"
15       layout="row"
16     >
17       <span class="matrix-cell" flex="20" layout="column" layout-align="center"
18         >{{row.value}}</span
19       >
20       <md-radio-group
21         ng-model="row.selected"
22         ng-change="MatrixView._updateValidity()"
23         flex
24         layout="row"
25       >
26         <span
27           class="matrix-cell radio-button-cell"
28           flex
29           ng-repeat="column in MatrixView.formItem.config.columns track by $index"
30         >
31           <md-radio-button
32             value="{{column.value}}"
33             aria-label="..."
34           ></md-radio-button>
35         </span>
36       </md-radio-group>
37     </div>
38   </div>
39
40   <div ng-messages="MatrixView.form.$error">
41     <div ng-message="required">This is required</div>
42   </div>
43 </md-input-container>