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>
<tr> <tr>
<td class="position"> <td class="position">
<%= position %> <%= position + 1 %>
</td> </td>
</tr> </tr>
</table> </table>

View File

@@ -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);