Sha256: 33456de1941010d1ba835a7886080f8acad8278524f2a3b34dc8ebb55323519a

Contents?: true

Size: 779 Bytes

Versions: 3

Compression:

Stored size: 779 Bytes

Contents

<%# locals: (error:) -%>
<%= 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 %>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check2-circle" viewBox="0 0 16 16">
    <path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0"/>
    <path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z"/>
  </svg>
  <span>Resolve <span class="sr-only">, Error #<%= error.id %></span></span>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solid_errors-0.6.1 app/views/solid_errors/errors/_resolve_button.html.erb
solid_errors-0.6.0 app/views/solid_errors/errors/_resolve_button.html.erb
solid_errors-0.5.0 app/views/solid_errors/errors/_resolve_button.html.erb