Sha256: 6a1fc9cf64a7266e4a18781b1732b970cc350d9436b88d64375c5ad296758be7

Contents?: true

Size: 1.41 KB

Versions: 17

Compression:

Stored size: 1.41 KB

Contents

<div class="inline-flex items-center justify-start flex-wrap gap-3 whitespace-nowrap">
  <%= 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 %>
    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-left" viewBox="0 0 16 16">
      <path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8"/>
    </svg>
    <span>Back to errors</span>
  <% 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 %>
    <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 Error<span class="sr-only"> #<%= error.id %></span></span>
  <% end %>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
solid_errors-0.4.3 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.4.2 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.4.1 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.4.0 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.3.5 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.3.4 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.3.3 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.3.2 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.3.1 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.3.0 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.2.17 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.2.16 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.2.15 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.2.14 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.2.13 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.2.12 app/views/solid_errors/errors/_actions.html.erb
solid_errors-0.2.11 app/views/solid_errors/errors/_actions.html.erb