Sha256: 25d89e05ed5e7fe3852e4bb30591c1f97972f16a82c6094938e2e496728aae37
Contents?: true
Size: 1.17 KB
Versions: 5
Compression:
Stored size: 1.17 KB
Contents
<div class="column2"> <div class="shadebox round"> <div id="survey"> <h1 class="round-top"><%= @title %></h1> <%= form_tag surveyforms_path, :method => 'get' do %> <p> <%= text_field_tag :search, params[:search] %> <%= submit_tag "Search", :name => nil %> </p> <% end %> <%= will_paginate %> <br /> <table> <tr> <th>Title</th> <th>Version</th> <th>Actions</th> </tr> <% for survey in @surveyforms %> <tr> <td><%= survey.title %></td> <td><%= survey.survey_version %></td> <td><%= link_to "Show", survey %>  <%= link_to "Edit", edit_surveyform_path(survey) %>  <%= link_to "Clone", clone_survey_surveyform_path(survey) %>  <%= link_to "Destroy", survey, data: { confirm: 'Are you sure?' }, :method => :delete %> <%= link_to "Run Report", report_path(survey) %> <%= link_to "View Responses" , responses_path(id: survey) %></td> </tr> <% end %> </table> <br /> <%= will_paginate %> <p> <%= link_to "New Survey", new_surveyform_path() %>  <%= link_to "Take a Survey", surveyor.available_surveys_path %>  </p> </div> </div> </div>
Version data entries
5 entries across 5 versions & 2 rubygems