Sha256: 0b46d3c66b84e82c8cc1c7e07f82d340a04acc6223023bb365d538ff26bf31e2

Contents?: true

Size: 509 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
headmin-0.5.2 app/views/headmin/forms/_hint.html.erb