Skip to content

Commit 71a4408

Browse files
committed
fix issue 4979
1 parent 5a8c114 commit 71a4408

File tree

4 files changed

+5
-38
lines changed

4 files changed

+5
-38
lines changed

app/views/donation_sites/index.html.erb

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,6 @@
3333
<h3 class="card-title">Donation Sites</h3>
3434
</div>
3535
<!-- /.card-header -->
36-
<!-- form start -->
37-
<div class="card-body">
38-
<table class="table">
39-
<thead>
40-
<tr>
41-
<th>Donation Site</th>
42-
<th>Address</th>
43-
<th>Contact Name</th>
44-
<th>E-mail</th>
45-
<th>Phone</th>
46-
<th>&nbsp;</th>
47-
</tr>
48-
<%= render partial: 'shared/table_row_form',
49-
object: @donation_site,
50-
locals: {columns: [{name: :text_field}, {address: :text_field}, {contact_name: :text_field}, {email: :text_field}, {phone: :text_field}]} %>
51-
</thead>
52-
</table>
53-
</div>
5436
<div class="card-footer">
5537
<div class="pull-right">
5638
<%= modal_button_to("#csvImportModal", {icon: "upload", text: "Import Donation Sites", size: "md"}) if @donation_sites.empty? %>

app/views/shared/_table_row_form.html.erb

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/user_guide/bank/community_donation_sites.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,23 @@
11
READY FOR REVIEW
22
# Donation Sites
33

4-
Donation Sites are places where people drop off Donations.
4+
Donation Sites are places where people drop off Donations.
55

66
## The Donation Site list
7-
You can manage the sites' information on the "Donation Sites" page under the "Community" section.
7+
You can manage the sites' information on the "Donation Sites" page under the "Community" section.
88

99
![Donation Sites](images/community/donation_sites/donation_sites.jpg)
1010

1111
Previously recorded information about Donation Sites appears on this page including the name of the Donation Site name, address, contact name, e-mail and phone number.
1212

1313
### Adding a Donation Site
1414

15-
Create a new site by populating the Donation Site, address, contact name, e-mail and phone fields and clicking the "Create" button.
15+
Create a new site by clicking the "+ New Donation Site" button. This renders a form or you to fill the site's name, address, contact name, e-mail, and phone number. After entering the required details, click the "Save" button to create the new Donation Site.
1616

17-
![Create Donation_Site](images/community/donation_sites/create_donation_site.jpg)
17+
![Add Donation_Site](images/community/donation_sites/add_new_donation_site.jpg)
1818

1919
Note that the Donation Site and address fields are mandatory while the contact name, email and phone are optional.
2020

21-
You can also use the "+ New Donation Site" button which renders a form for you to fill in details of a new Donation Site.
22-
23-
24-
![Add Donation_Site](images/community/donation_sites/add_new_donation_site.jpg)
25-
2621
After saving the site's details there will be a new row on the Donation Sites page.
2722

2823
## Viewing Donation Site information
@@ -51,4 +46,4 @@ You can export the active Donation Sites by clicking on the "Export Donation Sit
5146

5247
![Export Donation Sites](images/community/donation_sites/export_donation_sites.jpg)
5348

54-
[Prior: Product Drive Participants](community_product_drive_participants.md)[Next: Vendors](community_vendors.md)
49+
[Prior: Product Drive Participants](community_product_drive_participants.md)[Next: Vendors](community_vendors.md)
Binary file not shown.

0 commit comments

Comments
 (0)