Sha256: c79fff69d08315785fb92e8a77a0d9d4580ace788c4e8153bcb57454c19efa48

Contents?: true

Size: 490 Bytes

Versions: 16

Compression:

Stored size: 490 Bytes

Contents

<%
  # formstrap/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 "formstrap/validation", id: id, message: message %#>
%>

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

Version data entries

16 entries across 16 versions & 1 rubygems

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