hide import button when the file is imported

Conflicts:
	app/views/agent_import_files/show.html.erb
	app/views/resource_import_files/show.html.erb
added form tag
fixed form tag