Sha256: 7ca3dbeab5b15a34f587e52df04587a4cd1e70b18cd821caf7ffb60fab52ff24
Contents?: true
Size: 1.12 KB
Versions: 6
Compression:
Stored size: 1.12 KB
Contents
<% answer_option = form.object %> <div class="card questionnaire-question-answer-option"> <div class="card-divider"> <h2 class="card-title"> <span><%= t(".answer_option") %></span> <% if editable %> <button class="button button__sm button__transparent-secondary small alert hollow remove-answer-option button--title mb-2"> <%= icon("delete-bin-line") %> <%= t(".remove") %> </button> <% end %> </h2> </div> <div class="card-section"> <div class="row column"> <%= form.translated( :text_field, :body, tabs_id: tabs_id_for_question_answer_option(question, answer_option), label: t(".statement"), disabled: !editable ) %> </div> <div class="row column"> <%= form.check_box( :free_text, label: t(".free_text"), disabled: !questionnaire.questions_editable? ) %> </div> </div> <% if answer_option.persisted? %> <%= form.hidden_field :id, disabled: !editable %> <% end %> <%= form.hidden_field :deleted, disabled: !editable %> </div>
Version data entries
6 entries across 6 versions & 1 rubygems