Sha256: 306572d93e520094532d86eacc97e4e1896abec3f6e3096dce9dc2a99b2d2a0c

Contents?: true

Size: 425 Bytes

Versions: 10

Compression:

Stored size: 425 Bytes

Contents

<% unless scope_map.empty? %>
  <div id="scopes">
    <ul class="nav nav-tabs">
      <% scope_map.each do |name, options| %>
        <li class="<%= "active" if params[:scope] == name.to_s %>">
          <%= link_to translate_scoped("scopes.#{name.to_s.underscore}", default: name.to_s.titleize), url_for(params.merge(scope: name, only_path: true).except(:page)) %>
        </li>
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
godmin-0.9.9 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.8 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.7 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.6 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.5 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.4 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.3 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.2 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.1 app/views/godmin/resource/_scopes.html.erb
godmin-0.9.0 app/views/godmin/resource/_scopes.html.erb