Sha256: 7205d55a3cb572fde66e45531c199cfe641e296f56c9a5a8b1696cb347cfdcaa

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

<h1>Rails validation error</h1>
<%= form_with model: @post, url: request.fullpath, method: :patch do |form| %>
  <p>
    <%= form.label :image %>
    <%= form.bard_file_field :image, accepts: "image" %>
  </p>

  <p>
    <%= form.label :number %>
    <%= form.text_field :number %>
  </p>

  <p><%= form.submit "Submit" %></p>
<% end %>


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bard-file_field-0.1.5 dummy/app/views/edge_cases/rails_validation_error.html.erb
bard-file_field-0.1.4 dummy/app/views/edge_cases/rails_validation_error.html.erb
bard-file_field-0.1.3 dummy/app/views/edge_cases/rails_validation_error.html.erb
bard-file_field-0.1.2 dummy/app/views/edge_cases/rails_validation_error.html.erb
bard-file_field-0.1.1 dummy/app/views/edge_cases/rails_validation_error.html.erb
bard-file_field-0.1.0 dummy/app/views/edge_cases/rails_validation_error.html.erb