Sha256: 27293e19d58e0caa9475249fc6c7925cf594abcf543ab02f1e995cb77f8fe6e6

Contents?: true

Size: 509 Bytes

Versions: 11

Compression:

Stored size: 509 Bytes

Contents

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

  hint = Headmin::Form::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

11 entries across 11 versions & 1 rubygems

Version Path
headmin-0.6.3 app/views/headmin/forms/_hint.html.erb
headmin-0.6.2 app/views/headmin/forms/_hint.html.erb
headmin-0.6.1 app/views/headmin/forms/_hint.html.erb
headmin-0.6.0 app/views/headmin/forms/_hint.html.erb
headmin-0.5.9 app/views/headmin/forms/_hint.html.erb
headmin-0.5.8 app/views/headmin/forms/_hint.html.erb
headmin-0.5.7 app/views/headmin/forms/_hint.html.erb
headmin-0.5.6 app/views/headmin/forms/_hint.html.erb
headmin-0.5.5 app/views/headmin/forms/_hint.html.erb
headmin-0.5.4 app/views/headmin/forms/_hint.html.erb
headmin-0.5.3 app/views/headmin/forms/_hint.html.erb