Sha256: 9b2154be64e880378d344014d3004356d10ae5afcab1f901b32cabc9a3131cc4

Contents?: true

Size: 318 Bytes

Versions: 8

Compression:

Stored size: 318 Bytes

Contents

<!-- Custom validation field -->
<%= form.text_field :"validation_#{attribute}",
  name: nil,
  value: nil,
  class: "formstrap-media-validation",
  data: {
    "media-target": "validationInput",
    "min": min,
    "max": max,
    "min-message": t(".min", count: min),
    "max-message": t(".max", count: max),
  } %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
formstrap-0.4.5 app/views/formstrap/media/_validation.html.erb
formstrap-0.4.4 app/views/formstrap/media/_validation.html.erb
formstrap-0.4.3 app/views/formstrap/media/_validation.html.erb
formstrap-0.4.2 app/views/formstrap/media/_validation.html.erb
formstrap-0.3.5 app/views/formstrap/media/_validation.html.erb
formstrap-0.3.4 app/views/formstrap/media/_validation.html.erb
formstrap-0.3.3 app/views/formstrap/media/_validation.html.erb
formstrap-0.3.2 app/views/formstrap/media/_validation.html.erb