Sha256: 5a237b845f28596051fe866163781d81c942b1240b7a5cb3e6d9529e50c782e8

Contents?: true

Size: 676 Bytes

Versions: 6

Compression:

Stored size: 676 Bytes

Contents

<div class="elements-button">

  <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

6 entries across 6 versions & 1 rubygems

Version Path
lato_core-2.2.0 app/cells/lato_core/elements/button/views/button.html.erb
lato_core-2.1.4 app/cells/lato_core/elements/button/views/button.html.erb
lato_core-2.1.3 app/cells/lato_core/elements/button/views/button.html.erb
lato_core-2.1.2 app/cells/lato_core/elements/button/views/button.html.erb
lato_core-2.1.1 app/cells/lato_core/elements/button/views/button.html.erb
lato_core-2.1 app/cells/lato_core/elements/button/views/button.html.erb