Make the comment field mandatory

Fix #19
master
Daniel Berteaud 11 years ago
parent 6ef394b914
commit 66ef75e427
  1. 2
      templates/default/feedback.html.ep

@ -19,7 +19,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="comment"><%=l 'COMMENT' %></label> <label for="comment"><%=l 'COMMENT' %></label>
<textarea id="comment" name="comment" class="form-control" rows="10"></textarea> <textarea id="comment" name="comment" class="form-control" rows="10" required></textarea>
</div> </div>
<button type="submit" class="btn btn-default"><%=l 'SUBMIT' %></button> <button type="submit" class="btn btn-default"><%=l 'SUBMIT' %></button>
</form> </form>

Loading…
Cancel
Save