Sha256: 537393bced06c0b0c38c75bfc91f582f56647fdd597d35b92b223256c9d2ea1b
Contents?: true
Size: 907 Bytes
Versions: 11
Compression:
Stored size: 907 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <%= render 'shared/attributes/attribute', attribute: attribute, strategy: strategy, url: url do %> <span class="inline-block"> <% if object.send(success_method) %> <i class="fal fa-check ti ti-check text-green"></i> <% elsif object.send(attempting_method) %> <style> <% if font_awesome? %> @keyframes spinner { 100% { transform:rotate(360deg); } }; <% else %> @keyframes spinner { 100% { transform:rotate(-360deg); } }; <% end %> </style> <span class="inline-block" style="animation: spinner 4s linear infinite;"> <i class="fal fa-sync ti ti-reload"></i> </span> <% elsif object.send(failure_method) %> <i class="fal fa-close ti ti-close text-red"></i> <% end %> </span> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems