Sha256: 3e007ef597b979ad367baca4e1f4d1aa9cfd3470816f84354ed83b63a7d22411
Contents?: true
Size: 893 Bytes
Versions: 2
Compression:
Stored size: 893 Bytes
Contents
<h1> Questions </h1> <table> <thead> <tr> <th>Details</th> <th>Status</th> <th></th> <th></th> <th></th> </tr> </thead> <% for question in @questions %> <tr> <td><%= truncate(question.details, :length => 35) %></td> <td><%= question.active? ? 'Active' : 'Inactive' %></td> <td><%= link_to "Show", survey_admin_question_answers_path(question) %></td> <td><%= link_to "Edit", edit_survey_admin_question_path(question) %></td> <td> <% if question.active? %> <%= link_to "Inactivate", survey_admin_question_path(question), :confirm => 'Are you sure?', :method => :delete %> <% end %> </td> </tr> <% end %> </table> <p><%= link_to "New Question", new_survey_admin_question_path, :class => 'button' %></p>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
survey_says-0.0.2 | app/views/survey_admin/questions/index.html.erb |
survey_says-0.0.1 | app/views/survey_admin/questions/index.html.erb |