Sha256: 177499a1cda8fa456a5cc3e68e3950e185900671b29eac269caab18ed1a0f7f9

Contents?: true

Size: 422 Bytes

Versions: 7

Compression:

Stored size: 422 Bytes

Contents

<%- label_title = t("Create #{resource_model_name}", :default => t('Create')) -%>

<%- toolbar(
	:buttons => [
		{
			:icon => 'create',
			:label => label_title,
			:url => send("new_admin_#{resource_model_name}_path"),
			:title => label_title,
			:overlay_options => {
				:title => label_title
			},
			:if_permitted_to => [:new, namespaced_resources_name.to_sym]
		}
	],
	:search => true
) -%>

<%= render 'table' %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-2.1.rc6 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-2.1.rc5 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-2.1.rc4 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-2.1.rc3 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-2.1.rc2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-2.1.beta6 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-2.1.beta5 app/views/alchemy/admin/resources/index.html.erb