Sha256: 1dddc19ef16c761129202d6770f48e2bf4cea26bdd7e6a087d1093168417e7ca
Contents?: true
Size: 599 Bytes
Versions: 32
Compression:
Stored size: 599 Bytes
Contents
<%= content_for :title, params[:query_name].presence || "pg_extras" %> <%= render "rails_pg_extras/web/shared/queries_selector" %> <% if @error %> <div class="text-red-500 p-3 font-mono my-5"><%= @error %></div> <% else %> <% if @result&.any? %> <%= render "result", title: RubyPgExtras.description_for(query_name: @query_name), headers: @result[0].keys, rows: @result.values %> <% else %> <div class="font-mono p-3 bg-gray-100 mt-3">No results</div> <% end %> <% end %> <style> @media print { form { display: none } } </style>
Version data entries
32 entries across 32 versions & 1 rubygems