Sha256: 62cc9e529fce097c130e7fc8c3eff77434680590e340f20a58860198f46c3b9f

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

<html>
  <head>
  </head>
  <body>

    <% symbols = [:name, :description, :src_url, :page_url, :page_url_from_root, :relroot, :relroot_with_prefix ] %>

    <h1>Variable in image page</h1>

    <table>
      <tr>
        <td>
          previous page:<br/>
          <a href="<%= image.prev_page_url %>"><%= image.prev_page_url %></a>
        </td>

        <td>
          <table border="1">
            <% symbols.each do |symbol| %>
              <tr>
                <td>
                  <pre>image.<%= symbol.to_s %></pre>
                </td>
                <td>
                  <% if symbol.to_s.match(/url/) %>
                    <a href="<%= image.__send__(symbol) %>"> <%= image.__send__(symbol) %> </a>
                  <% else %>
                    <%= image.__send__(symbol) %>
                  <% end %>
                </td>
              </tr>
            <% end %>
          </table>
        </td>

        <td>
          next page <br/>
          <a href="<%= image.next_page_url %>"><%= image.next_page_url %></a>
        </td>
      </tr>
    </table>

  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gf-ralbum-0.0.5 lib/ralbum/skins/test_erb/template/image_page.rhtml