Sha256: a38e466d03e06c91df5e6a3a6abe27d70da0ff2bddeebca7284ba178d97d1e36

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

<div class="container">
  <div class="row-fluid">
    <div class="span12">
      <h2 class="text-center">Phantom Open Emoji Cheat Sheet</h2>
      <hr style="border-style:solid;">
      <ul class="unstyled">

        <% @category.each_with_index do |category_name, i| %>
          <h3> <%= category_name %> </h3>

          <div class="row-fluid">
            <% @divided_emojis[i].each.with_index(1) do |item, j| %>
              <div class="span6">
                <div class="span2">
                  <%= image_tag @path + item['name'] + '.png' %>
                </div>
                <div class="span10">
                  <p class="icon-name">
                    &nbsp;&nbsp;:&nbsp;&nbsp;<%= item['name'] %>
                  </p>
                </div>
              </div>

              <% if (j == @divided_emojis[i].size) && (i == @category.size - 1) %>
                </div>
                <hr style="border-style:solid;">
              <% elsif j == @divided_emojis[i].size %>
                </div>
                <hr style="border-style:dashed;">
              <% elsif j % 2 == 0 %>
                </div>
                <div class="row-fluid mt-l">
              <% end %>

            <% end %>

        <% end %>

      </ul>
    </div>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
poe_rails-0.0.3 app/views/poe_rails/cheat_sheet/index.html.erb
poe_rails-0.0.2 app/views/poe_rails/cheat_sheet/index.html.erb
poe_rails-0.0.1 app/views/phantom_open_emoji_web/cheat_sheet/index.html.erb