Sha256: 46ede8a10547375c663d46effa9eff6526fa9dcecf5791e55bf25206adbba11c
Contents?: true
Size: 1.62 KB
Versions: 13
Compression:
Stored size: 1.62 KB
Contents
<% if @custom_tools_alert_visible %> <div class="w-full inset-auto bottom-0 z-50 mb-4 opacity-75 hover:opacity-100 transition-opacity duration-150"> <a href="https://avohq.io/pricing" target="_blank" class="rounded bg-orange-700 text-white py-2 px-4 text-sm block items-center flex leading-tight"> <%= svg "exclamation", class: "h-6 inline mr-2 text-bold flex-shrink-0 mr-1" %> Warning. <%= @custom_tools_alert_visible %> This page will not be visible in a production environment. </a> </div> <% end %> <% if Avo::App.errors.has_errors?.present? %> <% Avo::App.errors.all.each do |error| %> <% if error.is_a? Hash %> <% url, message, target = error.values_at :url, :message, :target %> <div class="w-full inset-auto bottom-0 z-50 mb-4 opacity-75 hover:opacity-100 transition-opacity duration-150"> <a href="<%= url %>" target="<%= target %>" class="rounded bg-orange-700 text-white py-2 px-4 text-sm items-center flex leading-tight space-x-2"> <%= svg "exclamation", class: "h-6 inline mr-2 text-bold flex-shrink-0 mr-1" %> <div> <%= simple_format message %> </div> </a> </div> <% elsif error.is_a? String %> <div class="w-full inset-auto bottom-0 z-50 mb-4 opacity-75 hover:opacity-100 transition-opacity duration-150"> <div class="rounded bg-orange-700 text-white py-2 px-4 text-sm items-center flex leading-tight space-x-2"> <%= svg "exclamation", class: "h-6 inline mr-2 text-bold flex-shrink-0 mr-1" %> <div><%= simple_format error %></div> </div> </div> <% end %> <% end %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems