<section class="modalPut">
    <div id="modalPut">
        <div>
        <a href="/" id="close-modal-put"><i class="bi bi-x-circle"></i></i></a>
        <h3> Update currency </h3>       
       </div>
    <form action="/update/<%=coinPut.id%>" method="POST" id="update">
       
               <label for="nome"> Name: </label>
                <input type="text" id="nome" name="nome" required>
      
                <label for="denomination"> Denomination: </label>
                <input type="text" id="denomination" name="denomination" value="<%=coinPut.denomination %>" required>

                <label for="topic"> Topic: </label>
                <input type="text" id="topic" name="topic" value="<%= coinPut.topic %>" required>

                <label for="period_"> Period: </label>
                <input type="text" id="period_" name="period_" value="<%= coinPut.period_ %> " required>

                <label for="years"> Year: </label>
                <input type="number" id="years" name="years" value="<%= coinPut.years %>" required>
      
                <label for="composition"> Composition: </label>
                <input type="text" id="composition" name="composition" value="<%= coinPut.composition %>" required>

                <label for="typeboard"> Type of Board: </label> 
                <input type="text" id="typeboard" name="typeboard" value="<%= coinPut.typeboard %> " required>

                <label for="picture_front">front image link</label>
                <input tipe="text" id="picture_front" name="picture_front" value="<%= coinPut.picture_front %>" required>
      
                <label for="picture_back">behind image link</label>
                <input type="text" id="picture_back" name="coinPut.picture_back" value="<%= coinPut.picture_back%>" required>

                <button id="update" type="submit"> Update </button>

    </form>   
    </div>
</section>