Skip to content
Snippets Groups Projects
Commit 14be3e16 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#338 - allow empty amount input

parent 4537922c
Branches
Tags
No related merge requests found
......@@ -24,7 +24,7 @@
</div>
<div class="container">
<#import "../helpers/validation.ftl" as validation>
<form name="NewTemplate" action="<@s.url '/templates/newTemplate'/>" method="post" onsubmit="return validateForm()">
<form name="NewTemplate" action="<@s.url '/templates/newTemplate'/>" method="post" onsubmit="return validateForm(true)">
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
<input type="hidden" name="ID" value="<#if template.getID()??>${template.getID()?c}</#if>">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment