From b4a690b8e032f2108a72dd0c0c22b921ce1e3c50 Mon Sep 17 00:00:00 2001 From: YuriBocharov Date: Wed, 24 Jan 2024 16:03:57 -0500 Subject: [PATCH] fix: runs erb lint on project --- .../confirmation.html.erb | 17 ++-- .../account_request_mailer/rejection.html.erb | 2 +- app/views/account_requests/confirm.html.erb | 1 - .../account_requests/invalid_token.html.erb | 1 - app/views/account_requests/new.html.erb | 4 +- app/views/account_requests/received.html.erb | 1 - app/views/adjustments/index.html.erb | 6 +- app/views/adjustments/show.html.erb | 2 +- .../_open_account_request.html.erb | 4 +- .../admin/account_requests/index.html.erb | 4 +- .../barcode_items/_barcode_modal.html.erb | 2 +- app/views/admin/barcode_items/index.html.erb | 1 - app/views/admin/barcode_items/show.html.erb | 3 +- app/views/admin/base_items/_dropdown.html.erb | 2 +- app/views/admin/base_items/index.html.erb | 2 +- app/views/admin/base_items/show.html.erb | 2 +- .../_broadcast_announcement.html.erb | 2 +- .../broadcast_announcements/index.html.erb | 2 +- app/views/admin/dashboard.html.erb | 3 +- app/views/admin/organizations/edit.html.erb | 1 - app/views/admin/partners/index.html.erb | 9 -- app/views/admin/users/_roles.html.erb | 3 +- .../admin/users/_user_form_fields.html.erb | 1 - app/views/admin/users/edit.html.erb | 1 - app/views/admin/users/new.html.erb | 2 - app/views/audits/index.html.erb | 2 +- app/views/audits/show.html.erb | 2 +- .../_barcode_item_lookup.html.erb | 4 +- .../barcode_items/_barcode_item_row.html.erb | 2 +- .../barcode_items/_barcode_modal.html.erb | 4 +- app/views/barcode_items/_form.html.erb | 2 +- app/views/barcode_items/index.html.erb | 2 +- app/views/barcode_items/show.html.erb | 4 +- app/views/base_items/_dropdown.html.erb | 2 +- .../_broadcast_announcement.html.erb | 2 +- app/views/dashboard/_donation.html.erb | 2 +- .../_getting_started_prompt.html.erb | 2 +- .../_itemized_distributions_partial.html.erb | 2 +- .../_itemized_donations_partial.html.erb | 2 +- app/views/dashboard/index.html.erb | 15 ++-- .../partner_mailer.html.erb | 2 +- .../reminder_email.html.erb | 2 +- .../distributions/_distribution_row.html.erb | 3 +- .../_distribution_total.html.erb | 6 +- app/views/distributions/_form.html.erb | 2 +- app/views/distributions/edit.html.erb | 2 - app/views/distributions/pickup_day.html.erb | 2 +- app/views/distributions/schedule.html.erb | 1 - app/views/distributions/show.html.erb | 3 +- .../distributions_by_county/report.html.erb | 5 -- app/views/donation_sites/_form.html.erb | 2 +- app/views/donation_sites/index.html.erb | 4 +- app/views/donations/edit.html.erb | 2 +- app/views/donations/index.html.erb | 6 +- app/views/donations/show.html.erb | 1 - app/views/errors/404.html.erb | 2 +- app/views/errors/500.html.erb | 2 +- .../errors/internal_server_error.html.erb | 2 +- app/views/help/_bank_questions.html.erb | 2 +- .../distributions/index.html.erb | 3 +- .../donations/index.html.erb | 4 +- .../purchases/index.html.erb | 4 +- app/views/item_categories/_form.html.erb | 1 - app/views/item_categories/edit.html.erb | 1 - app/views/item_categories/new.html.erb | 1 - app/views/items/_item_categories.html.erb | 3 - app/views/items/_item_list.html.erb | 2 - app/views/items/_items_inventory.html.erb | 1 - .../_items_quantity_and_location.html.erb | 1 - app/views/items/_storage_column.html.erb | 2 +- app/views/items/show.html.erb | 2 +- app/views/kits/allocations.html.erb | 4 +- app/views/layouts/_devise_shared.html.erb | 12 +-- app/views/layouts/_lte_admin_navbar.html.erb | 2 +- app/views/layouts/_lte_admin_sidebar.html.erb | 2 +- app/views/layouts/application.html.erb | 14 ++-- app/views/layouts/application_old.html.erb | 6 +- app/views/layouts/devise.html.erb | 2 +- app/views/layouts/mailer.html.erb | 2 +- app/views/layouts/navigation/_footer.html.erb | 2 +- app/views/layouts/navigation/_header.html.erb | 8 +- app/views/layouts/navigation/_layout.html.erb | 2 +- .../layouts/navigation/_sidebar.html.erb | 6 +- app/views/layouts/partner.html.erb | 10 +-- .../layouts/partners/application.html.erb | 12 +-- .../partners/navigation/_sidebar.html.erb | 2 - app/views/manufacturers/_form.html.erb | 3 +- app/views/manufacturers/_new_modal.html.erb | 2 +- app/views/manufacturers/show.html.erb | 24 +----- app/views/organizations/_details.html.erb | 6 +- app/views/organizations/edit.html.erb | 4 +- app/views/partner_groups/_form.html.erb | 2 +- .../application_approved.html.erb | 2 +- app/views/partners/_form.html.erb | 2 +- app/views/partners/_partner_row.html.erb | 2 +- app/views/partners/_statuses.html.erb | 3 +- .../_broadcast_announcement.html.erb | 12 +-- .../dashboards/_requests_in_progress.html.erb | 6 +- .../_distribution_section.html.erb | 4 +- .../partners/distributions/index.html.erb | 2 +- app/views/partners/helps/show.html.erb | 2 +- app/views/partners/profiles/edit.html.erb | 1 - .../profiles/edit/_area_served.html.erb | 6 +- app/views/partners/profiles/show.html.erb | 4 +- .../profiles/show/_area_served.html.erb | 6 +- .../profiles/show/_served_area_row.html.erb | 2 +- app/views/partners/requests/_error.html.erb | 2 +- app/views/partners/requests/_history.html.erb | 2 +- app/views/partners/requests/_success.html.erb | 3 +- app/views/partners/requests/index.html.erb | 2 - app/views/partners/requests/show.html.erb | 1 - app/views/partners/show.html.erb | 12 +-- app/views/partners/users/index.html.erb | 1 - app/views/partners/users/new.html.erb | 1 - .../product_drive_participants/_form.html.erb | 2 +- .../_new_modal.html.erb | 2 +- .../product_drive_participants/show.html.erb | 2 +- app/views/product_drives/_new_modal.html.erb | 2 +- app/views/product_drives/show.html.erb | 5 +- app/views/profiles/_show.html.erb | 16 ++-- app/views/profiles/edit.html.erb | 1 - .../purchases/_purchase_item_row.html.erb | 2 +- app/views/purchases/edit.html.erb | 2 +- app/views/purchases/index.html.erb | 2 +- app/views/purchases/show.html.erb | 1 - .../notify_deadline.html.erb | 1 - .../reports/annual_reports/show.html.erb | 4 +- ...quest_cancel_partner_notification.html.erb | 6 +- app/views/requests/_status.html.erb | 2 +- app/views/requests/cancelation/new.html.erb | 1 - .../served_areas/_served_area_fields.html.erb | 6 +- app/views/shared/_csv_import_modal.html.erb | 82 +++++++++---------- app/views/shared/_date_range_picker.html.erb | 20 +++-- app/views/shared/_flash_tailwind.html.erb | 8 +- app/views/shared/_table_row_form.html.erb | 2 +- app/views/static/index.html.erb | 20 ++--- app/views/static/privacypolicy.html.erb | 9 +- .../storage_locations/_line_item_row.html.erb | 2 +- app/views/storage_locations/_source.html.erb | 4 +- app/views/storage_locations/edit.html.erb | 2 - app/views/storage_locations/index.html.erb | 3 +- app/views/storage_locations/new.html.erb | 1 - app/views/storage_locations/show.html.erb | 9 +- app/views/user_mailer/role_added.html.erb | 1 - app/views/users/_organization_user.html.erb | 58 ++++++------- .../users/_organization_users_table.html.erb | 2 +- app/views/users/index.html.erb | 10 --- app/views/users/invitations/edit.html.erb | 2 - .../mailer/invitation_instructions.html.erb | 4 +- app/views/users/registrations/edit.html.erb | 4 +- app/views/users/sessions/new.html.erb | 2 +- app/views/users/shared/_links.html.erb | 9 +- app/views/vendors/_form.html.erb | 2 +- app/views/vendors/_new_modal.html.erb | 2 +- app/views/vendors/show.html.erb | 2 +- 155 files changed, 301 insertions(+), 424 deletions(-) diff --git a/app/views/account_request_mailer/confirmation.html.erb b/app/views/account_request_mailer/confirmation.html.erb index 319ae56db2..b26537adfc 100644 --- a/app/views/account_request_mailer/confirmation.html.erb +++ b/app/views/account_request_mailer/confirmation.html.erb @@ -47,16 +47,15 @@

Finally, we've made a series of getting started videos with detailed directions on setting up your essentials bank in Human Essentials, check them out:
- Part 1
- Part 2
- Part 3
- Part 4
- Part 5
- Part 6
- Part 7
- Part 8
+ Part 1
+ Part 2
+ Part 3
+ Part 4
+ Part 5
+ Part 6
+ Part 7
+ Part 8
Please let us know when you would like to begin using Human Essentials and we will set you up and send you a welcome email.

Human Essential Team

- diff --git a/app/views/account_request_mailer/rejection.html.erb b/app/views/account_request_mailer/rejection.html.erb index 619d1ead14..3987bd4966 100644 --- a/app/views/account_request_mailer/rejection.html.erb +++ b/app/views/account_request_mailer/rejection.html.erb @@ -1,7 +1,7 @@ - +

Greetings from the Human Essentials Team,

diff --git a/app/views/account_requests/confirm.html.erb b/app/views/account_requests/confirm.html.erb index c823856494..33fc93b88d 100644 --- a/app/views/account_requests/confirm.html.erb +++ b/app/views/account_requests/confirm.html.erb @@ -8,4 +8,3 @@ - diff --git a/app/views/account_requests/invalid_token.html.erb b/app/views/account_requests/invalid_token.html.erb index fa20fb18c5..f0d8411adc 100644 --- a/app/views/account_requests/invalid_token.html.erb +++ b/app/views/account_requests/invalid_token.html.erb @@ -6,4 +6,3 @@ - diff --git a/app/views/account_requests/new.html.erb b/app/views/account_requests/new.html.erb index 517de354e5..2125b21a3e 100644 --- a/app/views/account_requests/new.html.erb +++ b/app/views/account_requests/new.html.erb @@ -13,7 +13,7 @@ <%= radio_button_tag(:account, :partner, false, class: 'form-check-input account_type') %> <%= label_tag(:account, "I am a Partner Agency to an Essentials Bank. I distribute the diapers/period supplies that I receive from essentials banks directly to the public.", class: 'form-check-label') %> - + <% if @bank_selected %> @@ -29,7 +29,7 @@ - > + @@ -44,9 +44,9 @@
-
-

The Human Essentials app removes the
complexity from your day

+

The Human Essentials app removes the
complexity from your day

and lets you spend time helping those who need it.

-
@@ -161,10 +159,10 @@

Want to use the Human Essentials App?

- > + "> -

-

Have questions? Email us at info@humanessentials.app

+

+

Have questions? Email us at info@humanessentials.app

diff --git a/app/views/static/privacypolicy.html.erb b/app/views/static/privacypolicy.html.erb index 386403fe99..8eacc2e47f 100644 --- a/app/views/static/privacypolicy.html.erb +++ b/app/views/static/privacypolicy.html.erb @@ -1,11 +1,11 @@ - - + + Human Essentials - +