Sha256: b9fb1d98348c35ba8795a27561f5192dec1c57290e5efdca2f801d2c6d49c0cd
Contents?: true
Size: 736 Bytes
Versions: 7
Compression:
Stored size: 736 Bytes
Contents
<h1><%= @questionnaire.title %></h1> <% if @questionnaire.description.present? %> <%= content_tag('div', sanitize(@questionnaire.description)) %> <% else %> <h2>Questions</h2> <% end %> <%= render 'errors' %> <%= form_for(@questionnaire, :url => questionnaire_path(@questionnaire)) do |form| %> <ul> <% @questionnaire.questions.each do |question| %> <li> <%= content_tag( 'span', question.title, :class => "label#{' tooltip' if question.description?}", :title => question.description ) %> <%= qwester_answers_selection_list(question) %> </li> <% end %> </ul> <p> <%= form.submit('Submit') %> <%= link_to('Back to the menu', questionnaires_path) %> </p> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems