<h1>New song</h1>

<% form_for @song, :html => {:multipart => true } do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :author %><br />
    <%= f.text_field :author %>
  </p>
  <p>
    <%= f.label :description %><br />
    <%= f.text_field :description %>
  </p>
  <p>
  	<%= f.label :file_location %><br />
  	<%=f.file_field :audio %><br />
  	Maximum file size: 15 MB
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
  
<% end %>

<%= link_to 'Back', songs_path %>
