Files
docuseal/app/views/shared/_button_title.html.erb
T
Pete Matsyburka aff9f753c7 adjust style
2025-10-11 18:20:59 +03:00

17 lines
548 B
Plaintext

<span class="enabled">
<span class="flex items-center justify-center space-x-2">
<%= icon %>
<% if title %>
<span class="<%= local_assigns[:title_class] %>"><%= title %></span>
<% end %>
</span>
</span>
<span class="disabled">
<span class="flex items-center justify-center space-x-2">
<%= local_assigns[:icon_disabled] || svg_icon('loader', class: 'w-5 h-5 animate-spin') %>
<% if disabled_with %>
<span class="<%= local_assigns[:title_class] %>"><%= disabled_with %>...</span>
<% end %>
</span>
</span>