Sha256: fddf698321c523b912c0b06aacd3531473fa57f34727956f1c273f878431e6b9

Contents?: true

Size: 497 Bytes

Versions: 19

Compression:

Stored size: 497 Bytes

Contents

<%
  # formstrap/hint
  #
  # ==== Required parameters
  # * +content+ - Content to be displayed as input hint
  #
  # ==== Examples
  #   Basic version
  #   <%= form_with do |form| %#>
  #     <%= render "formstrap/hint", content: "Hello" %#>
  #   <% end %#>

  hint = Formstrap::HintView.new(local_assigns)
%>

<div class="form-text d-flex justify-content-between">
  <div><%= raw(hint.content) %></div>
  <% if hint.maxlength %>
    <div data-textarea-target="count"></div>
  <% end %>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
formstrap-0.4.8 app/views/formstrap/_hint.html.erb
formstrap-0.4.7 app/views/formstrap/_hint.html.erb
formstrap-0.4.6 app/views/formstrap/_hint.html.erb
formstrap-0.4.5 app/views/formstrap/_hint.html.erb
formstrap-0.4.4 app/views/formstrap/_hint.html.erb
formstrap-0.4.3 app/views/formstrap/_hint.html.erb
formstrap-0.4.2 app/views/formstrap/_hint.html.erb
formstrap-0.3.5 app/views/formstrap/_hint.html.erb
formstrap-0.3.4 app/views/formstrap/_hint.html.erb
formstrap-0.3.3 app/views/formstrap/_hint.html.erb
formstrap-0.3.2 app/views/formstrap/_hint.html.erb
formstrap-0.3.1 app/views/formstrap/_hint.html.erb
formstrap-0.3.0 app/views/formstrap/_hint.html.erb
formstrap-0.2.1 app/views/formstrap/_hint.html.erb
formstrap-0.2.0 app/views/formstrap/_hint.html.erb
formstrap-0.1.3 app/views/formstrap/_hint.html.erb
formstrap-0.1.2 app/views/formstrap/_hint.html.erb
formstrap-0.1.1 app/views/formstrap/_hint.html.erb
formstrap-0.1.0 app/views/formstrap/_hint.html.erb