This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/ad_banners/index.html.erb

42 lines
1.2 KiB
Plaintext
Raw Normal View History

2012-01-31 10:31:31 +00:00
<%= flash_messages %>
<ul class="nav nav-pills filter">
<li class="accordion-group">
<form class="form-search">
<input class="input-medium search-query" type="text">
<button class="btn" type="submit">Search</button>
</form>
</li>
</ul>
<table class="table main-list" style="margin-top: 62px; ">
2012-01-31 10:31:31 +00:00
<thead>
<tr>
<th class="span1"></th>
<th class="span1-2"><%= t('admin.location') %></th>
<th class="span1"><%= t('admin.title') %> </th>
<th class="span7"><%= t('admin.title') %></th>
<th class="span1-2"><%= t('admin.start_date')%></th>
<th class="span1-2"><%= t('admin.end_date') %></th>
<th class="span1-2"><%= t('admin.style') %></th>
2012-01-31 10:31:31 +00:00
</tr>
</thead>
<% @ad_banners.each do |ad_banner| %>
<tr class="have">
<td></td>
2012-01-31 10:31:31 +00:00
<td><%= ad_banner.picture_position %></td>
<td><%= link_to ad_banner.title,edit_admin_ad_banner_path(ad_banner) %></td>
<td></td>
2012-01-31 10:31:31 +00:00
<td><%= ad_banner.post_date %></td>
<td><%= ad_banner.unpost_date.nil?? t('form.date_unlimited'): ad_banner.unpost_date %></td>
<td><%= ad_banner.ad_fx %></td>
2012-01-31 10:31:31 +00:00
</tr>
<tr></tr>
<% end %>
</table>
<div class="button_bar">
<%= link_to t('admin.new_ad_banner'), new_admin_ad_banner_path, :class => 'new' %>
</div>