Improves styles, removes blank spaces and changes banners img

This commit is contained in:
Alberto Garcia Cabeza
2016-05-23 16:49:40 +02:00
parent a9ac0dc7ff
commit 8954ea6cb5
7 changed files with 8 additions and 7 deletions

View File

@@ -10,7 +10,7 @@
<table>
<% @banners.each do |banner| %>
<tr id="<%= dom_id(banner) %>">
<td class="samll-12 medium-9">
<td class="small-12 medium-9">
<div class="<%= banner.style %>">
<div class="<%= banner.image %>">
<%= link_to banner.target_url do %>
@@ -19,13 +19,13 @@
<% end %>
</div>
</div>
<%= t("admin.banners.banner.post_started_at")%> <strong><%= banner.post_started_at %></strong>
&nbsp;|&nbsp;
<%= t("admin.banners.banner.post_ended_at")%> <strong><%= banner.post_ended_at%></strong>
</td>
<td class="text-center">
<%= link_to edit_admin_banner_path(banner),
<%= link_to edit_admin_banner_path(banner),
class: 'edit-banner button' do %>
<span class="icon-edit"></span>
<%= t("admin.banners.index.edit") %>