diff --git a/app/views/submissions/_detailed_form.html.erb b/app/views/submissions/_detailed_form.html.erb
index 6c7aecdc..e42e05be 100644
--- a/app/views/submissions/_detailed_form.html.erb
+++ b/app/views/submissions/_detailed_form.html.erb
@@ -30,7 +30,7 @@
<%= svg_icon('user_plus', class: 'w-4 h-4 stroke-2') %>
- Add Recipient
+ Add New
diff --git a/app/views/submissions/_email_form.html.erb b/app/views/submissions/_email_form.html.erb
index 46f18110..786ccf51 100644
--- a/app/views/submissions/_email_form.html.erb
+++ b/app/views/submissions/_email_form.html.erb
@@ -31,7 +31,7 @@
<%= svg_icon('user_plus', class: 'w-4 h-4 stroke-2') %>
- Add Recipient
+ Add New
<% end %>
diff --git a/app/views/submissions/_phone_form.html.erb b/app/views/submissions/_phone_form.html.erb
index aac741c1..1ed62d74 100644
--- a/app/views/submissions/_phone_form.html.erb
+++ b/app/views/submissions/_phone_form.html.erb
@@ -34,7 +34,7 @@
<%= svg_icon('user_plus', class: 'w-4 h-4 stroke-2') %>
- Add Recipient
+ Add New
<%= render 'send_sms', f: %>
diff --git a/app/views/submissions/_send_email.html.erb b/app/views/submissions/_send_email.html.erb
index f131fc12..1aa640ed 100644
--- a/app/views/submissions/_send_email.html.erb
+++ b/app/views/submissions/_send_email.html.erb
@@ -1,7 +1,7 @@
<% is_smtp_configured = Accounts.can_send_emails?(current_account) %>
<%= f.label :send_email, for: uuid = SecureRandom.uuid, class: 'flex items-center cursor-pointer' do %>
- <%= f.check_box :send_email, id: uuid, class: 'base-checkbox', disabled: !is_smtp_configured, onchange: "window.message_field && message_field.classList.toggle('hidden', !event.currentTarget.checked)" %>
+ <%= f.check_box :send_email, id: uuid, class: 'base-checkbox', disabled: !is_smtp_configured, checked: is_smtp_configured %>
Send Email
<% end %>
<% unless is_smtp_configured %>
@@ -18,20 +18,3 @@
<% end %>
-<% unless AccountConfig.exists?(key: AccountConfig::SUBMITTER_INVITATION_EMAIL_KEY) %>
-
-<% end %>
diff --git a/spec/system/submit_form_spec.rb b/spec/system/submit_form_spec.rb
index fe9c7957..187cee1e 100644
--- a/spec/system/submit_form_spec.rb
+++ b/spec/system/submit_form_spec.rb
@@ -81,7 +81,7 @@ RSpec.describe 'Submit Form' do
expect do
click_on 'submit'
- end.to change(enqueued_jobs, :size).by(3)
+ end.to change(enqueued_jobs, :size).by(2)
end
end
end