Sha256: 95035cca732d368bd8d64bd3f7bd0a26484ec2dbec740b3d5400d4d74e41df8a

Contents?: true

Size: 1.01 KB

Versions: 12

Compression:

Stored size: 1.01 KB

Contents

<div class="flex flex-col">
  <%%= render Avo::PanelComponent.new title: "<%= human_name %>" do |c| %>
    <%% c.tools do %>
      <%%= a_link('/avo', icon: 'heroicons/solid/academic-cap', style: :primary) do %>
        Dummy link
      <%% end %>
    <%% end %>

    <%% c.body do %>
      <div class="flex flex-col p-4 min-h-24">
        <div class="space-y-4">
          <h3>🪧 This partial is waiting to be updated</h3>

          <p>
            You can edit this file here <%= in_code "app/views/avo/resource_tools/#{file_name}.html.erb" %>.
          </p>

          <p>
            The resource tool configuration file should be here <%= in_code "app/avo/resource_tools/#{file_name}.rb" %>.
          </p>

          <%%
            # In this partial you have access to the following variables:
            # tool
            # @resource
            # @resource.model
            # params
            # Avo::App.context
            # current_user
          %>
        </div>
      </div>
    <%% end %>
  <%% end %>
</div>


Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
avo-2.9.2.pre1 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.9.1.pre7 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.9.1.pre6 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.9.1.pre5 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.9.1.pre4 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.9.1.pre3 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.9.1.pre2 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.9.1.pre1 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.9.0 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.8.0 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.7.1.pre.1 lib/generators/avo/templates/resource_tools/partial.tt
avo-2.7.0 lib/generators/avo/templates/resource_tools/partial.tt