projects
/
demos
/
spring-boot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP
[demos/spring-boot]
/
src
/
main
/
resources
/
templates
/
form.html
diff --git
a/src/main/resources/templates/form.html
b/src/main/resources/templates/form.html
index
f009beb
..
4105325
100644
(file)
--- a/
src/main/resources/templates/form.html
+++ b/
src/main/resources/templates/form.html
@@
-23,15
+23,15
@@
</div>
<div class="form-group">
<input type="text" th:field="*{row[__${card.key}__]}" />
</div>
<div class="form-group">
<input type="text" th:field="*{row[__${card.key}__]}" />
- <button type="submit" name="add"
value="row
" class="btn btn-primary">Add Row</button>
+ <button type="submit" name="add"
th:value="${card.key}
" class="btn btn-primary">Add Row</button>
</div>
</div>
<div class="card-footer">
</div>
</div>
<div class="card-footer">
- <button type="submit" name="
remove" value="card
" class="btn btn-primary">Remove Card</button>
+ <button type="submit" name="
card" th:value="${card.key}
" class="btn btn-primary">Remove Card</button>
</div>
</div>
</div>
</div>
</div>
</div>
- <p><button type="submit" name="
add" value="car
d" class="btn btn-primary">Add Card</button></p>
+ <p><button type="submit" name="
card" value="ad
d" class="btn btn-primary">Add Card</button></p>
</form>
</main>
</body>
</form>
</main>
</body>