Sha256: e743e3f18d04dda005210773175ca2f742868f633d1d8e97df07340452a8d99e

Contents?: true

Size: 568 Bytes

Versions: 18

Compression:

Stored size: 568 Bytes

Contents

<% css_class = "checkbox " + acceptance.validation_class(@answer_sheet, @page)
   checked = acceptance.has_answer?("1", @answer_sheet)
   locked = acceptance.locked?(params, @answer_sheet, @presenter, current_person)
%>
<%= check_box_tag "answers[#{acceptance.id}]", "1",
       checked,
      id: dom_id(acceptance),
      class: css_class,
      disabled: locked,
      readonly: locked %>
<label class="choice" for="<%= dom_id(acceptance) %>">
  <%= raw acceptance.label(session[:locale]) %>
</label>
<%= hidden_field_tag "answers[#{acceptance.id}]", "", id: "" %>

Version data entries

18 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.1.4 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.1.3 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.1.2 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.1.1 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.8 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.6 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.5 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.4 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.4 app/views.current/fe/questions/fe/_acceptance.html.erb
fe-2.0.3 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.3 app/views.current/fe/questions/fe/_acceptance.html.erb
fe-2.0.2 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.2 app/views.current/fe/questions/fe/_acceptance.html.erb
fe-2.0.1 app/views.current/fe/questions/fe/_acceptance.html.erb
fe-2.0.1 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.0 app/views/fe/questions/fe/_acceptance.html.erb
fe-2.0.0 app/views.current/fe/questions/fe/_acceptance.html.erb