Sha256: a6afef7f9d5161ed9a3f488f75f6fcb966bcbbbe8eaab029d55d1a40db6be325
Contents?: true
Size: 375 Bytes
Versions: 5
Compression:
Stored size: 375 Bytes
Contents
<% if question.choices.count > 5 %> <dd><%= answer.collection_select(:answer, question.choice_names, :to_s, :to_s, :include_blank=>!question.required)%></dd> <% else %> <% question.choices.each do |choice| %> <dd> <%=answer.radio_button(:answer, choice.name) %> <%=answer.label(:answer, choice.name, :value=>choice.name) %> </dd> <% end %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems