mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
Use ['locales.I18n.available'] to generate field label
This commit is contained in:
@@ -25,7 +25,9 @@ define([
|
||||
"click .lng-label a": "_toggleLabels"
|
||||
},
|
||||
render: function() {
|
||||
var template = _.template($("#create_template").html());
|
||||
var template = _.template($("#create_template").html(), {
|
||||
languages: AdminFieldApp.languages
|
||||
});
|
||||
|
||||
this.$el.html(template);
|
||||
|
||||
|
Reference in New Issue
Block a user