Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added attachment in form

  • Loading branch information...
commit d72bc113c3d452758e9be9cdae948739b2ab8b4f 1 parent 863d5b3
Vasia Kalavri authored

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. +8 0 app/views/participants/_form.html.erb
8 app/views/participants/_form.html.erb
@@ -38,6 +38,14 @@
38 38 <label for="comments"><%= f.label :comments %></label>
39 39 <div class="input"><%= f.text_area :comments %></div>
40 40 </div>
  41 +
  42 + <div class="clearfix">
  43 + <%= form_tag '/upload', :multipart => true do %>
  44 + <label for="file">Upload CV</label><div class="input"><%= file_field_tag "file" %></div>
  45 + <!%= submit_tag %>
  46 + <% end %>
  47 + </div>
  48 +
41 49 <div class="clearfix">
42 50 <div class="actions">
43 51 <input type="submit" class="btn primary" value="Save changes">&nbsp;<button type="reset" class="btn">Cancel</button>

0 comments on commit d72bc11

Please sign in to comment.
Something went wrong with that request. Please try again.