From 56b32e35a27d7f08eaa8bfdd2c7a1eaae396d835 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Tue, 8 Apr 2025 19:12:04 +0300 Subject: [PATCH] make last name optional --- app/views/profile/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/profile/index.html.erb b/app/views/profile/index.html.erb index eabab5fb..6732d907 100644 --- a/app/views/profile/index.html.erb +++ b/app/views/profile/index.html.erb @@ -12,7 +12,7 @@
<%= f.label :last_name, t('last_name'), class: 'label' %> - <%= f.text_field :last_name, required: true, class: 'base-input', dir: 'auto' %> + <%= f.text_field :last_name, required: false, class: 'base-input', dir: 'auto' %>