18 lines
		
	
	
		
			595 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			595 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| <%
 | |
|   question.input_options.each do | option |
 | |
|   option_id = "#{option.parameterize}_#{question.to_i}"
 | |
| %>
 | |
|   <div class="form-group-multiples">
 | |
|     <input type="radio" class="radio"
 | |
|            name="input_radio_<%= question.to_i %>"
 | |
|            id="radio_<%= option_id %>"
 | |
|            value="<%= option %>"
 | |
|            <%= "checked=\"checked\"" if answer == option %>
 | |
|            >
 | |
|     <label for="radio_<%= option_id %>"><%= option %></label>
 | |
|   </div>
 | |
| <% end %>
 | |
| 
 | |
| -- MOVE TO FLASH HASH --
 | |
| <div class="error">Please select or enter an answer. (The character limit for a textarea answer is 1000)</div>
 |