<form accept-charset="UTF-8" action="/photos" class="new_photo" data-remote="true" enctype="multipart/form-data" method="post">
    <input name="authenticity_token" type="hidden"/>
    <div style="margin:0;padding:0;display:inline">
        <input name="utf8" type="hidden" value="✓"/>
    </div>

    <div class="photos well">
        <div id='photo_upload_button'>
            <a class='btn'><i class="icon-camera" style="margin-right:4px;"></i>Add Photos</a>
            <input name="photo[user_file]" type="file"/>
        </div>
    </div>
</form>
