Skip to content

Commit

Permalink
submit
Browse files Browse the repository at this point in the history
  • Loading branch information
makon57 committed Jul 2, 2021
1 parent 7c13b1c commit cd9e538
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion public/stylesheets/details.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,13 @@ img {
margin-left: 30%;
margin-right: 30%;
margin-bottom: 1%;
border-radius: 6px;
}

textarea {
width: 500px;
height: 100px;
border-radius: 5px;
border-radius: 6px;
}

.hidden {
Expand All @@ -186,3 +187,8 @@ textarea {
.trail-list > a {
padding: 5px;
}

button.submit-btn {
display: block;
margin: auto;
}
1 change: 1 addition & 0 deletions views/trail-detail.pug
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ block content
div(class="review-container")
form(action=`/trail/${trail.id}` method="post" class="")
textarea(name="text" placeholder="Write a review!" class="review-input")
br
button(type="submit" class="submit-btn hi") Submit
div(class="list-reviews")
each review in reviews
Expand Down

0 comments on commit cd9e538

Please sign in to comment.