forked from bofh/fetsite
AutoCommit Fre Jul 31 18:03:05 CEST 2015
This commit is contained in:
@@ -24,7 +24,7 @@ $(function () {
|
||||
text: '<%= answeredquestion.text %>'
|
||||
},
|
||||
xAxis: {
|
||||
categories: [<%= raw(answeredquestion.choices.map{|c| "'"+escape_javascript(ff_icon("ffi1-good2"))+c.text+"'"}.join(",")) %>],
|
||||
categories: [<%= raw(answeredquestion.choices.map{|c| "'"+escape_javascript(c.html)+"'"}.join(",")) %>],
|
||||
title: {
|
||||
text: null
|
||||
},
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
<% else %>
|
||||
<div class="contentbox" style="background: grey">
|
||||
<div class="contentbox">
|
||||
<b><%= question.title%></b></div>
|
||||
<div class="contentbox">
|
||||
<ul>
|
||||
<b><%= question.title%></b> <%=question.text%></div>
|
||||
|
||||
<div class="contentbox">
|
||||
<ul class="choice-list">
|
||||
<% question.choices.each do |c| %>
|
||||
<li><%= render c %></li>
|
||||
<% end %>
|
||||
|
||||
@@ -1,24 +1,11 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<p>
|
||||
<b>Title:</b>
|
||||
<%= @survey_question.title %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Text:</b>
|
||||
<%= @survey_question.text %>
|
||||
</p><p>
|
||||
<%= params.to_yaml %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Typ:</b>
|
||||
<%= @survey_question.typ %>
|
||||
</p>
|
||||
|
||||
<%= render @survey_question %>
|
||||
<% render partial: "answeredquestion", object: @survey_question %>
|
||||
|
||||
|
||||
<%= link_to 'Edit', edit_survey_question_path(@survey_question) %> |
|
||||
<%= link_to 'Back', survey_questions_path %>
|
||||
|
||||
Reference in New Issue
Block a user