mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Display labels according to ['locales.I18n.available']
This commit is contained in:
@@ -37,7 +37,8 @@ define([
|
||||
var template = _.template($("#edit_template").html(), {
|
||||
field: this.model.toJSON(),
|
||||
vocabularyTypes: AdminFieldApp.vocabularyCollection.toJSON(),
|
||||
modelErrors: AdminFieldApp.errorManager.getModelError(this.model)
|
||||
modelErrors: AdminFieldApp.errorManager.getModelError(this.model),
|
||||
languages: AdminFieldApp.languages
|
||||
});
|
||||
|
||||
this.$el.empty().html(template);
|
||||
|
Reference in New Issue
Block a user