Sha256: 70251c5af6b143e252837985ab0d6cb2e16cd55b63182297d04dd28326b48ed2

Contents?: true

Size: 561 Bytes

Versions: 2

Compression:

Stored size: 561 Bytes

Contents

<% css_class = 'checkbox ' + acceptance.validation_class(@answer_sheet)
   checked = acceptance.has_answer?('1', @answer_sheet)
-%>
<%= check_box_tag "answers[#{acceptance.id}]", '1',
       checked,
      :id => dom_id(acceptance),
      :class => css_class,
      :disabled => @answer_sheet.frozen?&&!@answer_sheet.reference?,
      :readonly => @answer_sheet.frozen?&&!@answer_sheet.reference? %>
<label class="choice" for="<%= dom_id(acceptance) %>">
  <%= raw acceptance.label %>
</label>
<%= hidden_field_tag "answers[#{acceptance.id}]", '', :id => '' %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fe-0.0.4 app/views/fe/questions/fe/_acceptance.html.erb
fe-0.0.3 app/views/fe/questions/_acceptance.html.erb