Fixed issue displaying options
							parent
							
								
									043fce5081
								
							
						
					
					
						commit
						2f2b050c47
					
				|  | @ -10,8 +10,8 @@ | |||
|                     <div class="col-md-10"> | ||||
|                     {{#each productOptions}} | ||||
|                         {{#ifCond this.optType '==' "select"}} | ||||
|                             <strong>{{this.optName}}</strong> | ||||
|                             <select name="opt-{{this.optName}}" class="form-control product-opt"> | ||||
|                             <strong>{{../this.optName}}</strong> | ||||
|                             <select name="opt-{{../this.optName}}" class="form-control product-opt"> | ||||
|                                 {{#each ../this.optOptions}} | ||||
|                                     <option value="{{this}}">{{this}}</option> | ||||
|                                 {{/each}} | ||||
|  | @ -19,7 +19,7 @@ | |||
|                         {{/ifCond}} | ||||
|                         {{#ifCond this.optType '==' "radio"}} | ||||
|                             {{#each ../this.optOptions}} | ||||
|                                 <strong>{{this.optName}}</strong> | ||||
|                                 <strong>{{../this.optName}}</strong> | ||||
|                                 <div class="radio"> | ||||
|                                     <label> | ||||
|                                         <input type="radio" class="product-opt" name="opt-{{../../this.optName}}" value="{{this}}"> | ||||
|  |  | |||
|  | @ -10,8 +10,8 @@ | |||
|                 <div class="col s12 m10"> | ||||
|                 {{#each productOptions}} | ||||
|                     {{#ifCond this.optType '==' "select"}} | ||||
|                         <strong>{{this.optName}}</strong> | ||||
|                         <select name="opt-{{this.optName}}" class="form-control product-opt"> | ||||
|                         <strong>{{../this.optName}}</strong> | ||||
|                         <select name="opt-{{../this.optName}}" class="form-control product-opt"> | ||||
|                             {{#each ../this.optOptions}} | ||||
|                                 <option value="{{this}}">{{this}}</option> | ||||
|                             {{/each}} | ||||
|  | @ -19,7 +19,7 @@ | |||
|                     {{/ifCond}} | ||||
|                     {{#ifCond this.optType '==' "radio"}} | ||||
|                         {{#each ../this.optOptions}} | ||||
|                             <strong>{{this.optName}}</strong> | ||||
|                             <strong>{{../this.optName}}</strong> | ||||
|                             <div class="radio"> | ||||
|                                 <label> | ||||
|                                     <input type="radio" class="product-opt" name="opt-{{../../this.optName}}" value="{{this}}"> | ||||
|  |  | |||
|  | @ -10,8 +10,8 @@ | |||
|                 <div class="col s12 m10"> | ||||
|                 {{#each productOptions}} | ||||
|                     {{#ifCond this.optType '==' "select"}} | ||||
|                         <strong>{{this.optName}}</strong> | ||||
|                         <select name="opt-{{this.optName}}" class="form-control product-opt"> | ||||
|                         <strong>{{../this.optName}}</strong> | ||||
|                         <select name="opt-{{../this.optName}}" class="form-control product-opt"> | ||||
|                             {{#each ../this.optOptions}} | ||||
|                                 <option value="{{this}}">{{this}}</option> | ||||
|                             {{/each}} | ||||
|  | @ -19,7 +19,7 @@ | |||
|                     {{/ifCond}} | ||||
|                     {{#ifCond this.optType '==' "radio"}} | ||||
|                         {{#each ../this.optOptions}} | ||||
|                             <strong>{{this.optName}}</strong> | ||||
|                             <strong>{{../this.optName}}</strong> | ||||
|                             <div class="radio"> | ||||
|                                 <label> | ||||
|                                     <input type="radio" class="product-opt" name="opt-{{../../this.optName}}" value="{{this}}"> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue