-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
4 changed files
with
56 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
<h1>Customers#alphabetized</h1> | ||
<p>Find me in app/views/customers/alphabetized.html.erb</p> | ||
<section class="section"> | ||
<div class="container"> | ||
<h1 class="title">Customers (Alphabetized)</h1> | ||
|
||
<div class="buttons mb-4"> | ||
<%= link_to "View All", root_path, class: "button is-info" %> | ||
<%= link_to "View Missing Email", customers_missing_email_path, class: "button is-warning" %> | ||
</div> | ||
|
||
<div class="columns is-multiline"> | ||
<% @customers.each do |customer| %> | ||
<div class="column is-one-third"> | ||
<%= render customer %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> | ||
</section> |
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,2 +1,18 @@ | ||
<h1>Customers#index</h1> | ||
<p>Find me in app/views/customers/index.html.erb</p> | ||
<section class="section"> | ||
<div class="container"> | ||
<h1 class="title">All Customers</h1> | ||
|
||
<div class="buttons mb-4"> | ||
<%= link_to "View Alphabetized", customers_alphabetized_path, class: "button is-info" %> | ||
<%= link_to "View Missing Email", customers_missing_email_path, class: "button is-warning" %> | ||
</div> | ||
|
||
<div class="columns is-multiline"> | ||
<% @customers.each do |customer| %> | ||
<div class="column is-one-third"> | ||
<%= render customer %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> | ||
</section> |
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,2 +1,18 @@ | ||
<h1>Customers#missing_email</h1> | ||
<p>Find me in app/views/customers/missing_email.html.erb</p> | ||
<section class="section"> | ||
<div class="container"> | ||
<h1 class="title">Customers Missing Email</h1> | ||
|
||
<div class="buttons mb-4"> | ||
<%= link_to "View All", root_path, class: "button is-info" %> | ||
<%= link_to "View Alphabetized", customers_alphabetized_path, class: "button is-info" %> | ||
</div> | ||
|
||
<div class="columns is-multiline"> | ||
<% @customers.each do |customer| %> | ||
<div class="column is-one-third"> | ||
<%= render customer %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> | ||
</section> |
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