orbit-survey/app/views/panel/survey/back_end/surveys/index.html.erb

23 lines
864 B
Plaintext

<%= render 'filter' %>
<table class="table main-list">
<thead>
<tr>
<th class="span1"></th>
<th class="span3"><%= t('survey.title') %></th>
<th class="span1"><%= t('survey.postdate') %></th>
<th class="span1"><%= t('survey.deadline') %></th>
<th class="span1"><%= t('survey.results_count') %></th>
<th class="span2"><%= t('survey.update_user') %></th>
</tr>
</thead>
<tbody id="tbody_surveys" class="sort-holder">
<%= render :partial => 'survey', :collection => @surveys %>
</tbody>
</table>
<div class="form-actions form-fixed pagination-right">
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:add), new_panel_survey_back_end_survey_path, :class => 'btn btn-primary pull-right' if (is_manager? rescue nil) %>
<div id="survey_pagination" class="paginationFixed">
</div>
</div>