Sha256: 4f99f16bf5b22fbe6df9563b106bf7a953032e2069835cfe7922d32896476449
Contents?: true
Size: 1.04 KB
Versions: 58
Compression:
Stored size: 1.04 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 small alert hollow remove-answer-option button--title"> <%= 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
58 entries across 58 versions & 1 rubygems