Sha256: 792e77f4b65547e1d787b11b796179cfbbd1dd746b5dd0f92ccc92bd8067a5d5

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

<%
  # headmin/forms/validation
  #
  # ==== Required parameters
  # * +id+ - Form object
  # * +message+ - Name of the attribute of the form model
  #
  # ==== Optional parameters
  # * +valid+ - Show success message when true, failure message when false (default: true)
  #
  # ==== Examples
  #   Basic version
  #   <%= render 'headmin/forms/validation', id: id, message: message %#>
%>

<div class="<%= valid ? "valid-feedback" : "invalid-feedback" %>" id="<%= id %>">
  <%= message %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

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