Sha256: b60848f3d1dd6a4338d0ccb084e1234a8e838a4816973b908f866a2547c67323
Contents?: true
Size: 748 Bytes
Versions: 14
Compression:
Stored size: 748 Bytes
Contents
<div class="w-full rounded-lg border-2 border-dashed border-gray-300 hover:border-gray-400 dark:border-gray-700 dark:hover:border-gray-600 px-6 py-12 text-center"> <h2 class="block mb-4 only:mb-0 font-semibold leading-6 text-gray-900 dark:text-gray-200"> <%= I18n.t("active_admin.blank_slate.content", resource_name: active_admin_config.plural_resource_label) %> </h2> <% if new_action_authorized?(active_admin_config.resource_class) %> <%= if page_presenter.options.has_key?(:blank_slate_link) link = page_presenter.options[:blank_slate_link] instance_exec(&link) if link.is_a?(Proc) else link_to(I18n.t("active_admin.blank_slate.link"), new_resource_path) end %> <% end %> </div>
Version data entries
14 entries across 14 versions & 1 rubygems