mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-31 11:21:06 -04:00
* Remove unused bluecloth gem Last released in 2011. It was only required, never called; kramdown renders the markdown. * Add specs for Tilt markdown rendering and posts markdown partial * Remove rails_12factor gem Last released in 2014. Rails 5+ does this via RAILS_SERVE_STATIC_FILES and RAILS_LOG_TO_STDOUT, which production.rb already reads. * Remove memcachier gem from Gemfile and Gemfile.lock * Remove unused webrat gem Last released in 2011. Nothing requires it; the specs use Rails' assert_select and Capybara matchers. Only generator comments mention it. * Remove crowdin-cli gem Last released in 2018. Crowdin now ships its own standalone CLI, which reads crowdin.yml and doesn't need the gem. Also drops the dependencies only it used (rest-client, gli, crowdin-api and friends). * Removes the crowdin-cli gem (last released 2018), the dependencies only it needed, and crowdin.yml. Crowdin was never set up: the config still has a placeholder project ID and nothing else in the repo mentions it. Assisted by Claude * Remove newsletter functionality and associated views and tests * Remove newsletter functionality and related code across the application * keep the column * Remove stale test step * add back newsletter * Add migration to update newsletter column comment in members table --------- Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
= form_for(resource, as: resource_name,
|
|
url: registration_path(resource_name) + '#email',
|
|
html: { method: :put }) do |f|
|
|
%br/
|
|
= render 'devise/shared/error_messages', resource: resource
|
|
|
|
.row.mb-3
|
|
= f.label :email, class: 'col-form-label col-md-2'
|
|
.col-md-8
|
|
= f.email_field :email, class: 'form-control'
|
|
%span.form-text If you change your email address you will have to reconfirm.
|
|
|
|
.row.mb-3
|
|
.offset-md-2.col-md-8.checkbox
|
|
%label
|
|
= f.check_box :show_email
|
|
Show email publicly on your profile page.
|
|
|
|
.row.mb-3
|
|
.offset-md-2.col-md-8.checkbox
|
|
%label
|
|
= f.check_box :send_notification_email
|
|
Receive emailed copies of Inbox notifications (eg. private messages).
|
|
|
|
.row.mb-3
|
|
.offset-md-2.col-md-8.checkbox
|
|
%label
|
|
= f.check_box :send_planting_reminder
|
|
Receive regular reminders to track your planting and harvesting.
|
|
|
|
.row.mb-3
|
|
.offset-md-2.col-md-8.checkbox
|
|
%label
|
|
= f.check_box :send_harvest_reminder
|
|
Receive regular reminders of upcoming harvests.
|
|
|
|
.row.mb-3
|
|
.offset-md-2.col-md-8
|
|
= f.submit "Save", class: 'btn btn-primary'
|
|
= f.hidden_field(:tos_agreement, value: true)
|