<%= @question.details %>
Details | Active | Position | |||
---|---|---|---|---|---|
<%= truncate(answer.details, :limit => 55) %> | <%= answer.active.to_s %> | <%= answer.position %> | <%= link_to "Show", [:survey_admin, @question, answer] %> | <%= link_to "", edit_survey_admin_question_answer_path(@question, answer), :class => 'ss_sprite ss_application_edit' %> | <%= link_to "", [:survey_admin, @question, answer], :confirm => 'Are you sure?', :method => :delete, :class => 'ss_sprite ss_cross' %> |
<% if answer.scores.empty? %>
<%= link_to 'No properties...', edit_survey_admin_question_answer_path(@question, answer) %>
<% else %>
<%= image_tag answer.image unless answer.image.blank? %>
|
<%= link_to "New Answer", new_survey_admin_question_answer_path(@question), :class => 'button' %>