Sha256: 926c115e861aa2b661cdc22df71c6398c424eedaf9ec7d5ddfeb88fe100fa63e

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

# ActiveadminCustomLayout
Short description and motivation.

## Usage

### Available exports

```HTML
<!DOCTYPE html>
<html>
	<head>
		<%= yield :title %>
		<%= yield :stylesheets %>
		<%= yield :javascripts %>
		<%= yield :favicon %>
		<%= yield :meta_tags %>
		<%= yield :favicon %>
		<%= csrf_meta_tag %>
	</head>
	<body class="<%= yield :body_classes %>" >
		<div id="wrapper">
			<%= yield :unsupported_browser %>
			<div class="header" id="header"> <%#= yield :header %>
				<%= yield :site_title %>
				<%= yield :global_navigation %>
				<%= yield :utility_navigation %>
			</div>
			<div class="title_bar" id="title_bar"> <%#= yield :title_bar %>
				<div id="titlebar_left">
					<%= yield :breadcrumb %>
					<%= yield :title_tag %>
				</div>
				<div id="titlebar_right">
					<%= yield :action_items %>
				</div>
			</div>
			<%#= yield :page_content %>
			<%= yield :flash_messages %>
			<div id="active_admin_content" class="<%= (content_for? :sidebar) ? "with_sidebar" : "without_sidebar" %>" >
				<%= yield :main_content %>
				<%= yield :sidebar %>
			</div>
			<%= yield :footer %>
		</div>
	</body>
</html>
```

When rendering the index view:
```HTML
<div class="table_tools"> <%#= yield :table_tools %>
	<%= yield :index_batch_actions %>
	<%= yield :index_scopes %>
	<%= yield :index_index_list %>
</div>
<%= yield :index_collection %>
```

## Installation
Add this line to your application's Gemfile:

```ruby
gem 'activeadmin_custom_layout'
```

And then execute:
```bash
$ bundle
```

Or install it yourself as:
```bash
$ gem install activeadmin_custom_layout
```

## Contributing
Contribution directions go here.

## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activeadmin_custom_layout-0.1.0 README.md