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 %>&nbsp
      <%= link_to "Edit", edit_surveyform_path(survey) %>&nbsp
      <%= link_to "Clone", clone_survey_surveyform_path(survey) %>&nbsp
      <%= link_to "Destroy", survey, data: { confirm: 'Are you sure?' }, :method => :delete %>&nbsp; 
      <%= link_to "Run Report", report_path(survey) %> &nbsp;
      <%= link_to "View Responses" , responses_path(id: survey) %></td>
    </tr>
  <% end %>
</table>
<br />
<%= will_paginate %>
<p>
  <%= link_to "New Survey", new_surveyform_path() %>&nbsp
  <%= link_to "Take a Survey", surveyor.available_surveys_path %>&nbsp
</p>
</div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
upgrade_surveyor_gui-0.1.3 app/views/surveyor_gui/surveyforms/index.html.erb
upgrade_surveyor_gui-0.1.2 app/views/surveyor_gui/surveyforms/index.html.erb
surveyor_gui-0.1.2 app/views/surveyor_gui/surveyforms/index.html.erb
surveyor_gui-0.1.1 app/views/surveyor_gui/surveyforms/index.html.erb
surveyor_gui-0.1.0 app/views/surveyor_gui/surveyforms/index.html.erb