Sha256: 3f37b07601405f577f7b049deffc0ff9172e366608ec0d5cfd53badee92304d2

Contents?: true

Size: 769 Bytes

Versions: 8

Compression:

Stored size: 769 Bytes

Contents

<div class="mdl-layout__drawer">
  <span class="mdl-layout__title mdc-typography--title"><%= expand_text(drawer.title.text) %></span>
  <% if drawer.menu&.items %>
    <nav class="mdl-navigation">
      <% drawer.menu&.items&.each do |item| %>
        <a class="mdl-navigation__link"
           id="<%= item.id %>"
           style="color: unset; text-decoration: none;"
           href="javascript:void(0)"
           <%= erb :"components/event", :locals => {events: item.events, parent_id: item.event_parent_id} %>>
          <%= erb :"components/icon", :locals => {comp: item.icon} %>
          <%= item.text %>
        </a>
      <% end %>
    </nav>
  <% end %>
  <%= erb :"components/render", :locals => {:components => drawer.components, :scope => nil} %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voom-presenters-0.1.7 views/mdc/body/drawer.erb
voom-presenters-0.1.6 views/mdc/body/drawer.erb
voom-presenters-0.1.5 views/mdc/body/drawer.erb
voom-presenters-0.1.4 views/mdc/body/drawer.erb
voom-presenters-0.1.3 views/mdc/body/drawer.erb
voom-presenters-0.1.2 views/mdc/body/drawer.erb
voom-presenters-0.1.1 views/mdc/body/drawer.erb
voom-presenters-0.1.0 views/mdc/body/drawer.erb