finish index.erb page with submit button