Details | Status | |||
---|---|---|---|---|
<%= truncate(question.details, :length => 35) %> | <%= question.active? ? 'Active' : 'Inactive' %> | <%= link_to "Show", survey_admin_question_answers_path(question) %> | <%= link_to "Edit", edit_survey_admin_question_path(question) %> | <% if question.active? %> <%= link_to "Inactivate", survey_admin_question_path(question), :confirm => 'Are you sure?', :method => :delete %> <% end %> |
<%= link_to "New Question", new_survey_admin_question_path, :class => 'button' %>