Sha256: 3d26ddebd24c654e7c5696ee00ed4225c766382994640c2d6f4cb986696266a9

Contents?: true

Size: 236 Bytes

Versions: 7

Compression:

Stored size: 236 Bytes

Contents

<% if @show_label %>
  <label
    class="inputs__label"
    for="<%= @args[:name] %>"
  >
    <%= @args[:label] %>
    <% if @args[:required] %>
      <span class="inputs__label-required-sign">*</span>
    <% end %>
  </label>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lato_core-2.2.2 app/cells/lato_core/inputs/shared/label.html.erb
lato_core-2.2.0 app/cells/lato_core/inputs/shared/label.html.erb
lato_core-2.1.4 app/cells/lato_core/inputs/shared/label.html.erb
lato_core-2.1.3 app/cells/lato_core/inputs/shared/label.html.erb
lato_core-2.1.2 app/cells/lato_core/inputs/shared/label.html.erb
lato_core-2.1.1 app/cells/lato_core/inputs/shared/label.html.erb
lato_core-2.1 app/cells/lato_core/inputs/shared/label.html.erb