Sha256: b29ece8aea9fe57535c7fecca9e00694f1c9b11045c3a284c5cd0d2be52ff879

Contents?: true

Size: 1001 Bytes

Versions: 143

Compression:

Stored size: 1001 Bytes

Contents

<div class="flex flex-col">
  <%%= render Avo::PanelComponent.new title: '<%= human_name %>', display_breadcrumbs: true do |c| %>
    <%% c.tools do %>
      <div class="text-sm italic">This is the panels tools section.</div>
    <%% end %>

    <%% c.body do %>
      <div class="flex flex-col justify-between py-6 min-h-24">
        <div class="px-6 space-y-4">
          <h3>What a nice new tool 👋</h3>

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

          <p>
            For this tool we created the <%= in_code file_name %> method in the <%= in_code "Avo::ToolsController" %>. You may delete it or move it to your own controller.
          </p>

          <p>
            A new <%= in_code human_name %> item should have been added to the sidebar. Edit it in <%= in_code "app/views/avo/sidebar/items/_#{file_name}.html.erb" %>
          </p>
        </div>
      </div>
    <%% end %>
  <%% end %>
</div>

Version data entries

143 entries across 143 versions & 1 rubygems

Version Path
avo-1.25.2 lib/generators/avo/templates/tool/view.tt
avo-2.9.2.pre1 lib/generators/avo/templates/tool/view.tt
avo-2.9.1.pre7 lib/generators/avo/templates/tool/view.tt
avo-2.9.1.pre6 lib/generators/avo/templates/tool/view.tt
avo-2.9.1.pre5 lib/generators/avo/templates/tool/view.tt
avo-2.9.1.pre4 lib/generators/avo/templates/tool/view.tt
avo-2.9.1.pre3 lib/generators/avo/templates/tool/view.tt
avo-2.9.1.pre2 lib/generators/avo/templates/tool/view.tt
avo-2.9.1.pre1 lib/generators/avo/templates/tool/view.tt
avo-2.9.0 lib/generators/avo/templates/tool/view.tt
avo-2.8.0 lib/generators/avo/templates/tool/view.tt
avo-2.7.1.pre.1 lib/generators/avo/templates/tool/view.tt
avo-2.7.0 lib/generators/avo/templates/tool/view.tt
avo-2.6.1.pre.2 lib/generators/avo/templates/tool/view.tt
avo-2.6.1.pre.1 lib/generators/avo/templates/tool/view.tt
avo-2.6.0 lib/generators/avo/templates/tool/view.tt
avo-2.5.2.pre.7 lib/generators/avo/templates/tool/view.tt
avo-2.5.2.pre.6 lib/generators/avo/templates/tool/view.tt
avo-2.5.2.pre.5 lib/generators/avo/templates/tool/view.tt
avo-2.5.2.pre.4 lib/generators/avo/templates/tool/view.tt