public static Result insert() {
Form<Nature> filledForm = natureForm.bindFromRequest();
if(filledForm.hasErrors()) {
return ok(create.render(filledForm));
} else {
Nature created = filledForm.get();
created.save();
flash("success", "Nature ajoutée");
return redirect("/nature");
}
}