[Git][noosfero/noosfero][master] show block_images variable on block edition

Leandro Nunes gitlab at mg.gitlab.com
Fri Dec 9 15:16:06 BRST 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
8f708644 by Leandro Nunes dos Santos at 2016-12-09T14:15:44-03:00
show block_images variable on block edition

- - - - -


1 changed file:

- app/views/box_organizer/_highlights_block.html.erb


Changes:

=====================================
app/views/box_organizer/_highlights_block.html.erb
=====================================
--- a/app/views/box_organizer/_highlights_block.html.erb
+++ b/app/views/box_organizer/_highlights_block.html.erb
@@ -4,7 +4,7 @@
 
 <table class="noborder"><tbody id="highlights-data-table">
   <tr><th><%= _('Image') %></th><th><%= _('Address') %></th><th><%= _('Position') %></th><th><%= _('New Window') %></th></tr>
-  <% @block.images.each_with_index do |image, index| %>
+  <% @block.block_images.each_with_index do |image, index| %>
     <%= highlights_block_config_image_fields @block, image, index %>
   <% end %>
 </tbody></table>



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/8f708644d745a6d8c38a0802bbe3ec20e4d96813
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20161209/ad34baeb/attachment.html>


More information about the Noosfero-dev mailing list