app/views/census/_user_questions.html.erb in census-0.2.0 vs app/views/census/_user_questions.html.erb in census-0.2.1
- old
+ new
@@ -1,7 +1,7 @@
<div class="census_questions">
<% DataGroup.all.each do |group| -%>
- <fieldset>
+ <fieldset id="<%=h group.name.parameterize %>">
<legend><%=h group.name %></legend>
<% group.questions.each do |question| -%>
<%= render 'census/question_fields', :question => question, :user => user %>
<% end -%>
</fieldset>