Sha256: 3e2e1324df25be496f04c57465431fdac0a2af1f4f5fa33e83f7c03d99421a5d
Contents?: true
Size: 852 Bytes
Versions: 3
Compression:
Stored size: 852 Bytes
Contents
<div class="inline-flex items-center justify-start flex-wrap gap-3 whitespace-nowrap"> <% if current_controller.errors? && !current_action.errors_index? %> <%= link_to errors_path, class: "inline-flex items-center justify-center gap-2 font-medium cursor-pointer border rounded-lg py-3 px-5 bg-gray-100 text-initial border-gray-300 hover:ring-gray-200 hover:ring-8" do %> <%= bootstrap_svg "arrow-left" %> <span>Back to errors</span> <% end %> <% end %> <%= button_to error_path(error), method: :patch, class: "inline-flex items-center justify-center gap-2 font-medium cursor-pointer border rounded-lg py-3 px-5 bg-transparent text-blue-500 border-blue-500 hover:ring-blue-200 hover:ring-8", params: { error: { resolved_at: Time.now } } do %> Resolve Error<span class="sr-only"> #<%= error.id %></span> <% end %> </div>
Version data entries
3 entries across 3 versions & 1 rubygems