-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b574422
commit fa83470
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
<section style="height:100vh;width:100vw;backgroundColor:red;z-index:50"> | ||
YOOOOOO | ||
<section class="d-flex flex-column align-items-center py-4"> | ||
<div class="card shadow-sm mx-auto" style="width: 50rem;"> | ||
<div class="card-body"> | ||
<h1 class="text-center">Request Summary</h1> | ||
<hr> | ||
<% @items.each do |index, item_info| %> | ||
<p class="card-text"> | ||
<strong><%= item_info[:name] %></strong> for <%= item_info[:quantity] %> | ||
</p> | ||
<hr> | ||
<% end %> | ||
<h3 class="text-start"><strong> You are ordering a total of <%= @total_items_requested %> items. Are you sure?</strong></h3> | ||
<hr> | ||
<h3 class="card-subtitle mb-4 text-start">Please confirm that the above list is what you meant to request</h3> | ||
<div class="d-flex justify-content-between align-items-center"> | ||
<%= link_to 'Go back', 'javascript:history.back()', rel: 'nofollow', class: "btn btn-danger btn-lg" %> | ||
</div> | ||
</div> | ||
</div> | ||
</section> |