You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: myapp/templates/edit-item.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{% extends "base.html" %}
2
2
{% load i18n %}
3
3
{% load static %}
4
-
4
+
{% load extras %}
5
5
{% block content %}
6
6
7
7
<divclass="pagetitle">
@@ -108,7 +108,7 @@ <h5 class="card-title">{% trans "Item Details" %}</h5>
108
108
<labelfor="value" class="col-sm-2 col-form-label">{% trans "Value" %}</label>
109
109
<divclass="col-sm-10">
110
110
<divclass="input-group">
111
-
<inputplaceholder="{% trans 'The value of the item' %}" type="number" class="form-control" id="value" name="value" step="0.01" min="0.00" value="{{ item.value }}" required>
111
+
<inputplaceholder="{% trans 'The value of the item' %}" type="number" class="form-control" id="value" name="value" step="0.01" min="0.00" value="{{ item.value|comma_to_dot }}" required>
0 commit comments