-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ampers - Sweetsy (Alex, Aruna and Leti) #24
base: master
Are you sure you want to change the base?
Conversation
… if category not found.
bEtsyWhat We're Looking For
|
@@ -0,0 +1,12 @@ | |||
<h1> Edit Order Item Quantity </h1> | |||
|
|||
<% product = Product.find(@orderproduct.product_id) %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like something that should be in the controller.
<%= b.check_box %> | ||
<%= b.label %> | ||
<% end %> | ||
<%= f.submit, class: "button" %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have a comma misplaced here!
must_redirect_to homepage_path | ||
Merchant.count.must_equal before_count | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about if the route is hit without the proper information to log in. Like the user bypasses github and goes to the route.
<%= csrf_meta_tags %> | ||
</head> | ||
|
||
<header class="nav-bar"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your header
element is not inside the body
element. All content on the page should be in the body
. Review the format of an HTML document.
<header class="nav-bar"> | ||
<section class="top-bar" data-topbar role="navigation"> | ||
|
||
<div class="nav-drop"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making this a nav
element might make sense.
bEtsy
Congratulations! You're submitting your assignment! These comprehension questions should be answered by all members of your team, not by a single teammate.
Comprehension Questions