<%= f.simple_fields_for :dependency do |d| %> <%= d.hidden_field :question_id %> <%= d.hidden_field :question_group_id %> <%= d.hidden_field :rule %>
Show the question, "<%= @this_question %>", when the following conditions are true:

QuestionConditionAnswer

Add a Condition <%= image_tag 'addicon.png', :border => 0 %>

<% end -%>

<%= f.button :submit, 'Save Changes', :id=>'dependency_submit' %>