Display item list position from 1 to n

Remove unusued variable in template
This commit is contained in:
Nicolas Le Goff
2013-05-31 17:52:00 +02:00
parent a59ff1a3ac
commit 159a5c5d55
2 changed files with 2 additions and 4 deletions

View File

@@ -248,7 +248,7 @@
</tr>
<tr>
<td class="position">
<%= position %>
<%= position + 1 %>
</td>
</tr>
</table>

View File

@@ -24,9 +24,7 @@ define([
"click .btn-cancel-field": "toggleCreateFormAction"
},
render: function() {
var template = _.template($("#create_template").html(), {
languages: AdminFieldApp.languages
});
var template = _.template($("#create_template").html());
this.$el.html(template);