Sha256: cbb5043d5aa962b88e468cdcc9a831fd3b32d320eeb215b968b9ba5a51fa67ec

Contents?: true

Size: 256 Bytes

Versions: 47

Compression:

Stored size: 256 Bytes

Contents

<%
  classes = "inline-block"
  classes += " text-red-700" if @status == 'failed'
%>
<div class="flex flex-shrink-0">
  <div class="<%= classes %>"><%= @label %></div>
  <% if @status == 'loading' %>
    <div class="spinner ml-1"></div>
  <% end %>
</div>

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
avo-1.4.1 app/components/avo/fields/common/status_viewer_component.html.erb
avo-1.4.0 app/components/avo/fields/common/status_viewer_component.html.erb
avo-1.4.0.pre.1 app/components/avo/common/status_viewer_component.html.erb
avo-1.3.5 app/components/avo/common/status_viewer_component.html.erb
avo-1.3.5.pre.1 app/components/avo/common/status_viewer_component.html.erb
avo-1.3.4 app/components/avo/common/status_viewer_component.html.erb
avo-1.3.3 app/components/avo/common/status_viewer_component.html.erb
avo-1.3.2 app/components/avo/common/status_viewer_component.html.erb
avo-1.3.1 app/components/avo/common/status_viewer_component.html.erb
avo-1.3.0 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.11.pre.4 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.11.pre.3 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.11.pre.2 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.11.pre.1 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.10 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.9 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.8 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.7 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.6 app/components/avo/common/status_viewer_component.html.erb
avo-1.2.6.pre.1 app/components/avo/common/status_viewer_component.html.erb