Skip to content

Commit 96ea149

Browse files
committed
add pre-reg to ovr step 1
1 parent 68f10cf commit 96ea149

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

app/views/registrants/show.html.haml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
= render :partial => 'layouts/weglot'
22

33
- if !@registrant || @registrant.short_form?
4+
- intro_key = params[:utm_feature] == 'prereg_included' ? 'txt.registration.intro_message_pre_register' : 'txt.registration.intro_message'
45
.intro-message
5-
%p=t('txt.registration.intro_message')
6+
%p= t(intro_key).html_safe
67

78
%h1= t('txt.registration.step_1_header')
89

config/locales/txt/en.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ en:
302302
powered_by: 'powered by:'
303303
progress_indicator: 'Step:'
304304
intro_message: Voter registration takes an average of two minutes or less.
305+
intro_message_pre_register: Voter registration or preregistration takes an average
306+
of two minutes or lesss.
305307
step_1_header: New Registrant
306308
step_2_header: Personal Information
307309
step_3_header: Additional Registration Information

0 commit comments

Comments
 (0)