Sha256: bbcc1395bb1b30279049150b841fb14a32a11e4dd60edbc52ca290ce1e8691e9

Contents?: true

Size: 719 Bytes

Versions: 13

Compression:

Stored size: 719 Bytes

Contents

:javascript
  $('.nav.nav-pills li.active').removeClass('active');
  $('.nav.nav-pills li[data-model="#{@abstract_model.to_param}"]').addClass('active');

%title= "#{@abstract_model.try(:pretty_name) || @page_name} | #{[_get_plugin_name[0] || 'Rails', _get_plugin_name[1] || 'Admin'].join(' ')}"
.page-header
  %h1= @page_name
- flash && flash.each do |key, value|
  .alert.alert-dismissible{class: flash_alert_class(key)}
    %button.close{type: 'button', :'data-dismiss' => "alert"} ×
    = value
= breadcrumb
%ul.nav.nav-tabs
  = menu_for((@abstract_model ? (@object.try(:persisted?) ? :member : :collection) : :root), @abstract_model, @object)
%ul.nav.nav-tabs.filter
  = content_for :contextual_tabs
= yield

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hancock_cms-2.0.1.3 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-1.0.2.3 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-2.0.1.2 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-2.0.1.1 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-1.0.2.2 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-1.0.1 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-2.0.0.2 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-1.0.0.4 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-1.0.0.3 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-2.0.0.1 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-1.0.0.2 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-2.0.0 app/views/layouts/rails_admin/pjax.html.haml
hancock_cms-1.0.0 app/views/layouts/rails_admin/pjax.html.haml