AutoCommit Mon Aug 10 20:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-10 20:03:02 +02:00
parent d628d6cee8
commit 2ef0dc7fb8
7 changed files with 26 additions and 28 deletions

View File

@@ -1,6 +1,8 @@
<div id="container_question_<%= answeredquestion.id %>" style="min-width: 310px; max-width: 800px; height: <%= (100+answeredquestion.choices.count * 90).to_s %>px; margin: 0 auto" class="contentbox">
<div style="background:red">
<b><%= answeredquestion.title%></b>
<b>
<%= answeredquestion.title%>
</b>
<ul>
<% answeredquestion.choices.each do |c| %>
<li>

View File

@@ -4,13 +4,13 @@
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><%= link_to "Neue FRage", new_survey_question_path(params: {parent_type: parent.class.to_s, parent_id: parent.id.to_s}) %></li>
<% question_templates.each do |q| %>
<li><%= link_to q.title, create_from_template_survey_question_path(q, params: {parent_type: parent.class.to_s, parent_id: parent.id.to_s}) %>
</li>
<% end %>
<li>
<%= link_to "Neue FRage", new_survey_question_path(params: {parent_type: parent.class.to_s, parent_id: parent.id.to_s}) %>
</li>
<% question_templates.each do |q| %>
<li>
<%= link_to q.title, create_from_template_survey_question_path(q, params: {parent_type: parent.class.to_s, parent_id: parent.id.to_s}) %>
</li>
<% end %>
</ul>
</div>