mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Display item list position from 1 to n
Remove unusued variable in template
This commit is contained in:
@@ -248,7 +248,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="position">
|
<td class="position">
|
||||||
<%= position %>
|
<%= position + 1 %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@@ -24,9 +24,7 @@ define([
|
|||||||
"click .btn-cancel-field": "toggleCreateFormAction"
|
"click .btn-cancel-field": "toggleCreateFormAction"
|
||||||
},
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
var template = _.template($("#create_template").html(), {
|
var template = _.template($("#create_template").html());
|
||||||
languages: AdminFieldApp.languages
|
|
||||||
});
|
|
||||||
|
|
||||||
this.$el.html(template);
|
this.$el.html(template);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user