Compare commits

..

No commits in common. "f3a1def39670be87b4a4ca6080ecb87c15770b2a" and "3fa1ac101c6256c9b40a003b4e61cd0a4cba60a9" have entirely different histories.

2 changed files with 2 additions and 6 deletions

View File

@ -4,10 +4,6 @@ class Member < ApplicationRecord
has_many :notifications
has_paper_trail
def self.ransackable_attributes(auth_object = nil)
%w[display_name legal_name email identification_number]
end
def cancelled_on
expires_on + 90.days
end

View File

@ -20,11 +20,11 @@
</tr>
<tr>
<td><label><%= t('members.attributes.legal_name') %></label></td>
<td><%= form.text_field :legal_name %></label></td>
<td><%= form.text_field :legal_name, required: true %></label></td>
</tr>
<tr>
<td><label><%= t('members.attributes.pronouns') %></label></td>
<td><%= form.text_field :pronouns %></label></td>
<td><%= form.text_field :pronouns, required: true %></label></td>
</tr>
<tr>
<td><label><%= t('members.attributes.email') %></label></td>