Changeset 738b31a


Ignore:
Timestamp:
02/05/23 19:06:46 (17 months ago)
Author:
Filip Chorbeski <86695898+FilipChorbeski@…>
Branches:
main
Children:
6479fe1
Parents:
b1b571b
Message:

resolve merge conflict

Location:
Prototype Application/Paw5/src/main
Files:
4 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • Prototype Application/Paw5/src/main/resources/templates/CreatePost.html

    rb1b571b r738b31a  
    1717    <div id="AddNewPet">
    1818        <label for="newpet">Add new pet:</label>
    19             <input id="newpet" type="checkbox">
     19            <input id="newpet" name="newpet" placeholder="newpet" type="checkbox">
    2020    </div>
    2121
    2222    <div id="PetName">
    23         Name:<input type="text">
     23        Name:<input id="name" name="name" placeholder="name" type="text">
    2424    </div>
    2525
    2626    <div id="Genders">
    2727        <label for="gender">Gender:</label>
    28         <select id="gender">
    29             <option>male</option>
    30             <option>female</option>
     28        <select id="gender" name="gender">
     29            <option value = "MALE">male</option>
     30            <option value = "FEMALE">female</option>
    3131        </select>
    3232    </div>
     
    3434    <div id="AgeGroup">
    3535        <label for="age">Age Group:</label>
    36         <select id="age">
    37             <option>young</option>
    38             <option>adult</option>
    39             <option>elder</option>
     36        <select id="age" name="size">
     37            <option value = "YOUNG">young</option>
     38            <option value = "ADULT">adult</option>
     39            <option value = "ELDER">elder</option>
    4040        </select>
    4141    </div>
     
    4343    <div id="Sizes">
    4444        <label for="size">Size:</label>
    45         <select id="size">
    46             <option>extra small</option>
    47             <option>small</option>
    48             <option>medium</option>
    49             <option>large</option>
    50             <option>extra large</option>
     45        <select id="size" name="size">
     46            <option value = "XSMALL">extra small</option>
     47            <option value = "SMALL">small</option>
     48            <option value = "MEDIUM">medium</option>
     49            <option value = "LARGE">large</option>
     50            <option value = "XLARGE">extra large</option>
    5151        </select>
    5252    </div>
     
    5454    <div id="Species">
    5555        <label for="specie">Species:</label>
    56         <select id="specie">
    57             <option>cat</option>
    58             <option>dog</option>
    59             <option>bird</option>
     56        <select id="specie" name="specie">
     57            <option value = "CAT">cat</option>
     58            <option value = "DOG">dog</option>
     59            <option value = "BIRD">bird</option>
    6060        </select>
    6161    </div>
    6262
    63     <div id="Breed">
    64         Breed:<input type="text">
     63    <div id="Breeds">
     64        Breed:<input id="breed" name="breed" placeholder="breed" type="text">
    6565    </div>
    6666
    67     <div id="UploadImage">
    68         URL of Image:<input type="text">
     67    <div id="UploadImages">
     68        URL of Image:<input id="image" name="image" placeholder="image" type="text">
    6969       <!-- <label for="upload">Image:</label>
    7070        <input id="upload" type="file" accept="image/*">
Note: See TracChangeset for help on using the changeset viewer.