This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
binaryattraction/app/views/photos/new.html.haml

16 lines
457 B
Plaintext
Raw Permalink Normal View History

= error_messages @photo
= form_for @photo do
%fieldset
%legend Upload A Photo
%p
%label{ :for => 'photo[email]' } Email
= text_field :name => 'photo[email]', :id => 'photo[email]'
%small Optional
%p
%label{ :for => 'photo[file]' } Image
= file_field :name => 'photo[file]', :id => 'photo[file]'
%small 3MB limit, JPG, PNG, GIF, etc.
= submit 'Save', :onclick => "$('indicator').show()"
= indicator