Sha256: cd1cea147950ce7455f9a51499c4dded2a811796c58951b17dfff77e29522539

Contents?: true

Size: 801 Bytes

Versions: 2

Compression:

Stored size: 801 Bytes

Contents

<tr id="<%= dom_id request %>">
  <td class="whitespace-nowrap py-4 pl-4 pr-3 sm:pl-6">
    <%= render RailsLiveDashboard::RequestMethodBadgeComponent.new(request.content.method) %>
  </td>
  <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
    <%= request.content.path %>
  </td>
  <td class="whitespace-nowrap px-3 py-4">
    <%= render RailsLiveDashboard::RequestStatusBadgeComponent.new(request.content.status) %>
  </td>
  <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
    <%= request.created_at.strftime("%Y-%m-%d %H:%M:%S") %>
  </td>
  <td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-6">
    <%= link_to 'Show', rails_live_dashboard.request_path(request), class: 'text-indigo-600 hover:text-indigo-900' %>
  </td>
</tr>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_live_dashboard-0.2.0 app/views/rails_live_dashboard/requests/_request.html.erb
rails_live_dashboard-0.1.2 app/views/rails_live_dashboard/requests/_request.html.erb