app/views/adminpanel/sections/show.html.erb in adminpanel-0.0.7 vs app/views/adminpanel/sections/show.html.erb in adminpanel-0.1.0cl
- old
+ new
@@ -8,25 +8,24 @@
<h5><%= @section.name.humanize %>
<%= link_to content_tag(:i, nil, :class => 'icon-pencil'), edit_section_path(@section), :title => "Editar Seccion" %>
</h5>
</div>
<div class="widget-body row-fluid">
- <div class="span1">
+
+ <div class="span2">
<b>DescripciĆ³n</b>
</div>
- <div class="span11">
+ <div class="span10">
<% if @section.description.nil? %>
- <%= t("no description") %>
+ <%= t("other.no description") %>
<% else %>
<%= @section.description.html_safe %>
<% end %>
</div>
<div class="span12">
- <% if @section.has_image %>
<% @section.images.each do |image|-%>
<%= image_tag(image.file_url :thumb) %>
<% end %>
- <% end %>
</div>
</div>
</div>
</div>
\ No newline at end of file