Rfishernc / gardenshare

0 stars 0 forks source link

Offer trade page #10

Open Rfishernc opened 5 years ago

Rfishernc commented 5 years ago

User Story When the user clicks on an individual listing, they should have the option to request a trade. Requesting a trade should bring up a form allowing them to offer plants they have and choosing quantities and a trade date. They also should be able to request plants from the other user. They should also have an option to add a message to the trade request.

Acceptance Criteria Clicking offer trade brings up the offer trade form. There is an input for plants to offer or request. Only plants that the user/trade partner have are available as options to select. There is a button to add the current plant to the offer. Doing so will clear the input fields and add the plant to the offer list. There is a date input to select a trade date. There is a text input to add a message to the offer.
There is a submit offer button, if no date is selected clicking the button will display an error message, otherwise the offer is submitted and the form is closed.

Tech Details

Rfishernc commented 5 years ago

gartrade