flash(Constants.WARNING, newOrgForm.error("name").message());
return badRequest(create.render("title.newOrganization", newOrgForm));
} else {
Organization org = newOrgForm.get();
org.created = new Date();
org.save();
UserApp.currentUser().createOrganization(org);
return redirect(routes.OrganizationApp.organization(org.name));
}
}