anchor.diff:  								<br/>
   								<a href="/record/<%=@record_id%>/review">
   									<%#= hidden_filed_tag :file_size, :value => @upload.upload_file_size %>
  -									<button type="button" class="btn btn-large btn-success">Review and Submit</button>
  +									<button type="button" class="btn btn-large btn-success" id="submit_button">
  +										Review and Submit
  +									</button>
   								</a>
   							</div>
   						</div>
  
positive.code: 							<div>
  								<ul>
  									<% @uploads.each do |upload| %>
  									<li><%= upload.upload_file_name %> <%= link_to "delete", "datauploads/#{upload.id}/delete", :confirm => "Are you sure?" %></li>
  								<% end %>
  								</ul>
  							</div>
  
negative.code:       });
  
    });
  </script>
  
  <script type="text/javascript">
  	$(function() {
  		$('#submit_button').click(function(){
  			if (	($('#delete_button').length == 0) && ($('#delete_link').length == 0)		) {
  				alert("You must upload at least one file.")
  				return false;
  			};
  		});
  	});
  </script>
  
  
  
  