Sha256: 3a0fc9456f5b603df350c8f4ed93658d7f96a1a68baa8749e10cc5a2c83dbc0f

Contents?: true

Size: 695 Bytes

Versions: 11

Compression:

Stored size: 695 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)
  = content_for :contextual_tabs
= yield

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rails_admin-1.4.3 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.4.2 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.4.1 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.4.0 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.3.0 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.2.0 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.1.1 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.1.0 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.0.0 app/views/layouts/rails_admin/pjax.html.haml
rails_admin-1.0.0.rc app/views/layouts/rails_admin/pjax.html.haml
rails_admin-0.8.1 app/views/layouts/rails_admin/pjax.html.haml