Sha256: 8d9b72c685bc28240f3113da64fc63d26978b77ad99a37aacef699a6fe15d43f

Contents?: true

Size: 1.39 KB

Versions: 29

Compression:

Stored size: 1.39 KB

Contents

<div class="section">
  <div class="corset full">
    
    <div class="row">
      <div class="col-sm-4 col-md-3 col-xl-2">
        
        <div class="box setting">
          <div class="header">
            Locations
          </div>
          <div class="body flat-top">
            <ul class="nav_list flat">
              
              <% %w(address country state city district subdistrict).each do |l| %>
                
                <li class="<%= 'active current' if current_page?(url_for(controller: "magic_addresses/#{l.tableize}", action: "index")) %>">
                  <%= link_to url_for(controller: "magic_addresses/#{l.tableize}", action: "index") do %>
                    <%= t("activerecord.attributes.magic_addresses_#{l}.other") %> <span class="label"><%= "::MagicAddresses::#{l.classify}".constantize.count %></span>
                  <% end %>
                </li>
                
              <% end %>
              
            </ul>
          </div>
        </div>
        
      </div>
      <div class="col-sm-8 col-md-9 col-xl-10">
        
        
        <div class="box setting">
          <div class="header">
            <%= yield :headline %>
          </div>
          <div class="body">
            
            <%= body %>
            
          </div>
        </div>

        <br/>
        <br/>
        
        
      </div>
    </div>
    
  </div>
</div>

<br/>
<br/>




Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
magic_addresses-0.0.34 app/views/magic_addresses/_admin_template.html.erb
magic_addresses-0.0.33 app/views/magic_addresses/_admin_template.html.erb
magic_addresses-0.0.32 app/views/magic_addresses/_admin_template.html.erb
magic_addresses-0.0.31 app/views/magic_addresses/_admin_template.html.erb
magic_addresses-0.0.30 app/views/magic_addresses/_admin_template.html.erb
magic_addresses-0.0.29 app/views/magic_addresses/_admin_template.html.erb
magic_addresses-0.0.28 app/views/magic_addresses/_admin_template.html.erb
magic_addresses-0.0.27 app/views/magic_addresses/_admin_template.html.erb
magic_addresses-0.0.26 app/views/magic_addresses/_admin_template.html.erb