Changed error messages
This commit is contained in:
parent
c0cfb3c202
commit
7378e56dc6
@ -28,21 +28,19 @@
|
|||||||
<label for="staffnum">Staff No:</label>
|
<label for="staffnum">Staff No:</label>
|
||||||
<input id="staffnum" type = "integer" name = "staffnum" value="{{item.staffnum}}" required/>
|
<input id="staffnum" type = "integer" name = "staffnum" value="{{item.staffnum}}" required/>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p><input type = "submit" value = "Update" /></p>
|
||||||
<input type = "submit" value = "Update" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
{% if exc == 'integrity' %}
|
{%- if exc == 'integrity' -%}
|
||||||
Item with such SKU already exists
|
Item with the same assettag already exists
|
||||||
{% endif %}
|
{%- endif -%}
|
||||||
{% if exc == 'status' %}
|
{%- if exc == 'status' -%}
|
||||||
Data input error. Invalid value for <b>status</b>.
|
Data input error. Invalid status value
|
||||||
{% endif %}
|
{%- endif -%}
|
||||||
{% if exc == 'staffnum' %}
|
{%- if exc == 'staffnum' -%}
|
||||||
Data input error. Staff number must be an integer
|
Data input error. Staff number must be an integer
|
||||||
{% endif %}
|
{%- endif -%}
|
||||||
</p>
|
</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user