Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

File upload form

View upload.erb
1 2 3 4 5 6 7 8 9 10 11
<h3>Upload a New Picture</h3>
<%= form_for @picture do |f| %>
<div class="form_field">
<%= f.label :description %>
<%= f.text_field :description %>
</div>
<div class="form_field">
<%= f.label :file, "Choose File..." %>
<%= f.file_field :file %>
</div>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.