Sha256: b6fd81de82b9597c9b4b9c4408df1dccba7099bda6254a1210be8717ba44e849

Contents?: true

Size: 591 Bytes

Versions: 1

Compression:

Stored size: 591 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.try(:reference?),
      :readonly => @answer_sheet.frozen?&&!@answer_sheet.try(:reference?) %>
<label class="choice" for="<%= dom_id(acceptance) %>">
  <%= raw acceptance.label(session[:locale]) %>
</label>
<%= hidden_field_tag "answers[#{acceptance.id}]", '', :id => '' %>

Version data entries

1 entries across 1 versions & 1 rubygems

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