Sha256: 08dfcccc1fa47ca3495d41cc02e91376ba026ad59d7f2bd2a7bfed9282714e2a
Contents?: true
Size: 1.28 KB
Versions: 12
Compression:
Stored size: 1.28 KB
Contents
<% label_title = Alchemy.t("Create #{resource_name}", default: Alchemy.t('Create')) %> <% content_for :toolbar do %> <div class="toolbar_buttons"> <%= render 'alchemy/admin/partials/site_select' %> <%= render Alchemy::Admin::ToolbarButton.new( icon: :plus, label: label_title, url: new_resource_path, title: label_title, hotkey: 'alt+n', dialog_options: { title: label_title, size: "430x415" }, if_permitted_to: [:create, Alchemy::Language] ) if @languages.any? %> </div> <%= render 'alchemy/admin/partials/search_form' %> <% end %> <div id="archive_all" class="resources-table-wrapper"> <% if @languages.any? %> <%= render 'alchemy/admin/resources/table_header' %> <%= render 'table' %> <% elsif search_filter_params[:q].present? %> <%= render_message { Alchemy.t('Nothing found') } %> <% else %> <div class="panel no-resource-found"> <%= render_message do %> <%== Alchemy.t('alchemy/language', scope: :no_resource_found) %> <% end %> <%= render 'form', language: Alchemy::Language.new( Alchemy::Config.get(:default_language).merge( site: Alchemy::Current.site, default: true, public: true ) ) %> </div> <% end %> </div>
Version data entries
12 entries across 12 versions & 1 rubygems