| 1 | <div class="view mblView"> |
| 2 | <script type="dojo/require">at: "dojox/mvc/at"</script> |
| 3 | <h2 data-dojo-type="dojox/mobile/EdgeToEdgeCategory" style="height: 32px;" data-app-constraint="top">Repeat Data Binding Example</h2> |
| 4 | |
| 5 | <form name="repeatTestForm" id="repeatTestForm"> |
| 6 | <div class="field-title">Search Results</div> |
| 7 | <div id="repeatWidget" class="fieldset" data-dojo-type="dojox/mvc/Repeat" |
| 8 | data-dojo-props="exprchar: '#', children: this.loadedModels.repeatmodels.model" > |
| 9 | <div class="row"> |
| 10 | <input data-dojo-type="dojox/mobile/TextBox" |
| 11 | id="nameInput#{this.index}" data-dojo-props="value: at('rel:#{this.index}','First')" placeHolder="First Name"> |
| 12 | <button type="button" id="detail#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton"> |
| 13 | Details |
| 14 | </button> |
| 15 | <button type="button" id="insert#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton"> |
| 16 | + |
| 17 | </button> |
| 18 | <button type="button" id="delete#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton"> |
| 19 | - |
| 20 | </button> |
| 21 | </div> |
| 22 | </div> |
| 23 | </form> |
| 24 | </div> |