Skip to content

Instantly share code, notes, and snippets.

@jmercedes
Created January 21, 2013 14:10
Show Gist options
  • Save jmercedes/4586329 to your computer and use it in GitHub Desktop.
Save jmercedes/4586329 to your computer and use it in GitHub Desktop.
<%= simple_form_for [@doctor, @appointment], :html => { :multipart => true, :class => 'form-horizontal' } do |f| %>
<%= f.error_notification %>
<%= f.text_field :adate %>
<%= f.text_field :atime %>
<%= f.file_field :personal_id %>
<%= f.label :insurance_id %><br />
<%= f.file_field :insurance_id %>
<%= f.file_field :prescription %>
<%= f.submit %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment