<% # 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) %>
<%= raw(hint.content) %>
<% if hint.maxlength %>
<% end %>