Ignore:
Timestamp:
01/05/23 01:31:58 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
676144b
Parents:
ab952ab
Message:

Added functionalities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/partinfo.html

    rab952ab r7d43957  
    44<p th:text="${part.getManufacturer().getName()}"></p>
    55<p><span th:text="${amount}"></span><span> денари</span></p>
    6 <form th:action="@{'/part/delivery/{id}' (id=${part.getId()}) }">
     6<form method="post" th:action="@{'/part/addToOrder/{id}' (id=${part.getId()}) }">
    77    <label>
    8         <input type="number" required min="1" placeholder="Количина"/>
     8        <input type="number" name="quantity" required min="1" placeholder="Количина"/>
    99    </label>
    10     <button type="submit">Купи</button>
     10    <button class="btn btn-primary btn-block btn-lg" type="submit">Додај во нарачка</button>
    1111</form>
    1212</div>
Note: See TracChangeset for help on using the changeset viewer.