// Nouveau format
if (TalkFormat.findByLibelle(formFormat.getLibelle(),getEvent()) != null) {
return badRequest(toJson(TransformValidationErrors.transform(Messages.get("error.format.already.exist"))));
}
formFormat.setEvent(getEvent());
formFormat.save();
} else {
// Mise à jour d'un format
TalkFormat dbFormat = TalkFormat.find.byId(formFormat.getId());
if (!formFormat.getLibelle().equals(dbFormat.getLibelle())
&& TalkFormat.findByLibelle(formFormat.getLibelle(),getEvent()) != null) {