2012-01-31 10:31:31 +00:00
|
|
|
|
|
|
|
<%= flash_messages %>
|
|
|
|
|
2012-03-23 03:18:29 +00:00
|
|
|
<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>
|
2012-03-23 03:18:29 +00:00
|
|
|
<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">
|
2012-03-23 03:18:29 +00:00
|
|
|
<td></td>
|
2012-01-31 10:31:31 +00:00
|
|
|
<td><%= ad_banner.picture_position %></td>
|
2012-03-23 03:18:29 +00:00
|
|
|
<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>
|
2012-02-03 07:14:42 +00:00
|
|
|
<td><%= ad_banner.unpost_date.nil?? t('form.date_unlimited'): ad_banner.unpost_date %></td>
|
2012-03-23 03:18:29 +00:00
|
|
|
<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>
|