move dynamic_form to Gemfile
formatting fixes
improve bootstrap alerts
error handling for duplicate requests