Sha256: 969206793fa8e1f3f17ed845691aae931ac5bca5734945bcf92677fc54b2d316
Contents?: true
Size: 1.04 KB
Versions: 47
Compression:
Stored size: 1.04 KB
Contents
<div class="flex flex-col"> <%%= render Avo::PanelComponent.new(name: "<%= human_name %>") do |c| %> <%% c.with_tools do %> <%%= a_link('/avo', icon: 'heroicons/solid/academic-cap', color: :primary, style: :primary) do %> Dummy link <%% end %> <%% end %> <%% c.with_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
47 entries across 47 versions & 1 rubygems