Sha256: 71501ce6a4251c3135cfc1a9fde2a41271e78c4e1909eefc326409e91a766c64

Contents?: true

Size: 368 Bytes

Versions: 6

Compression:

Stored size: 368 Bytes

Contents

<% path = File.join(Pathname.new(Mid.gem_source_path), 'admin_views', 'partials', 'image_element.html.erb') %>
<% myerb = ERB.new(File.read(path), eoutvar: "@bidule") %>
<% # Why %= don't work !? Need to do a loop concat... %>
<% $stderr.puts @images %>
<% (@images || []).each do |img| %>
  <% @img = img.gsub(Dir.pwd, "") %>
  <%= myerb.result(binding)  %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyde_admin-0.0.13 bin/admin_views/partials/images_page.html.erb
hyde_admin-0.0.11 bin/admin_views/partials/images_page.html.erb
hyde_admin-0.0.10 bin/admin_views/partials/images_page.html.erb
hyde_admin-0.0.9 bin/admin_views/partials/images_page.html.erb
hyde_admin-0.0.8 bin/admin_views/partials/images_page.html.erb
hyde_admin-0.0.7 bin/admin_views/partials/images_page.html.erb