Sha256: 0a08ea92a5ab4d08412b09a5b004ab6f28d62c9530d8ae28a31f8adac5b68d59

Contents?: true

Size: 713 Bytes

Versions: 1

Compression:

Stored size: 713 Bytes

Contents

<div class="elements-button <%= @block_class %>">

  <button
    class="
    button
    elements-button__element
    elements-button__element--<%= @args[:style] %>
    elements-button__button"
    title="<%= @args[:label] %>"
    id="<%= @args[:id] %>"
    <% if @show_submit %>
      type="submit"
    <% end %>
    <% if @args[:onclick] %>
      onclick="<%= @args[:onclick] %>"
    <% end %>
  >

    <% if @show_icon && @icon_left %>
      <i class="fa fa-<%= @args[:icon] %> icon-left" aria-hidden="true"></i>
    <% end %>
    
    <%= @args[:label] %>

    <% if @show_icon && @icon_right %>
      <i class="fa fa-<%= @args[:icon] %> icon-right" aria-hidden="true"></i>
    <% end %>
  
  </button>

</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lato_core-2.2.2 app/cells/lato_core/elements/button/views/button.html.erb