{label:"Helpdesk ticket",value:merge_request.helpdesk_ticket.present??link_to("#{merge_request.helpdesk_ticket} (opens in a new tab)","https://dluhcdigital.atlassian.net/browse/#{merge_request.helpdesk_ticket}",target:"_blank",rel:"noopener noreferrer"):display_value_or_placeholder(nil),action:merge_request_action(merge_request,"helpdesk_ticket")},
{label:"Helpdesk ticket",value:merge_request.helpdesk_ticket.present??link_to("#{merge_request.helpdesk_ticket} (opens in a new tab)","https://mhclgdigital.atlassian.net/browse/#{merge_request.helpdesk_ticket}",target:"_blank",rel:"noopener noreferrer"):display_value_or_placeholder(nil),action:merge_request_action(merge_request,"helpdesk_ticket")},
@ -2,7 +2,7 @@ class Form::Lettings::Pages::Address < ::Form::Page
definitialize(id,hsh,subsection)
super
@id="address"
@header="Q#{QUESTION_NUMBER_FROM_YEAR[form.start_date.year]||QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max]} - What is the property's address?"
"The ’lead’ or ’main’ tenant is the person in the household who does the most paid work. If several people do the same amount of paid work, the lead tenant is whoever is the oldest."
else
"The ’lead’ or ’main’ tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -2,8 +2,6 @@ class Form::Lettings::Questions::Beds < ::Form::Question
definitialize(id,hsh,page)
super
@id="beds"
@check_answer_label="Number of bedrooms"
@header="How many bedrooms does the property have?"
@type="numeric"
@width=2
@check_answers_card_number=0
@ -17,9 +15,5 @@ class Form::Lettings::Questions::Beds < ::Form::Question
log.is_bedsit?
end
defhint_text
form.start_year_after_2024??"If shared accommodation, enter the number of bedrooms occupied by this household.":"If shared accommodation, enter the number of bedrooms occupied by this household. A bedsit has 1 bedroom."
@hint_text=form.start_year_after_2024??"":"The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"":"The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"":"The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -2,11 +2,8 @@ class Form::Lettings::Questions::EthnicGroup < ::Form::Question
definitialize(id,hsh,page)
super
@id="ethnic_group"
@check_answer_label="Lead tenant’s ethnic group"
@header="What is the lead tenant’s ethnic group?"
@type="radio"
@check_answers_card_number=1
@hint_text=form.start_year_after_2024??"":"The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"":"The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"":"The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@header="Which of these best describes the lead tenant’s gender identity?"
@type="radio"
@check_answers_card_number=1
@answer_options=ANSWER_OPTIONS
@ -18,13 +16,5 @@ class Form::Lettings::Questions::GenderIdentity1 < ::Form::Question
"R"=>{"value"=>"Tenant prefers not to say"},
}.freeze
defhint_text
ifform.start_year_after_2024?
"This should be however they personally choose to identify from the options below. This may or may not be the same as their biological sex or the sex they were assigned at birth."
else
"The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -2,11 +2,8 @@ class Form::Lettings::Questions::Nationality < ::Form::Question
definitialize(id,hsh,page)
super
@id="national"
@check_answer_label="Lead tenant’s nationality"
@header="What is the nationality of the lead tenant?"
@type="radio"
@check_answers_card_number=1
@hint_text="The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text="If the lead tenant is a dual national of the United Kingdom and another country, enter United Kingdom. If they are a dual national of two other countries, the tenant should decide which country to enter."
@header="Which of these best describes person #{person_index}’s gender identity?"
@type="radio"
@check_answers_card_number=person_index
@answer_options=ANSWER_OPTIONS
@ -19,14 +17,6 @@ class Form::Lettings::Questions::PersonGenderIdentity < ::Form::Question
"R"=>{"value"=>"Person prefers not to say"},
}.freeze
defhint_text
ifform.start_year_after_2024?
"This should be however they personally choose to identify from the options below. This may or may not be the same as their biological sex or the sex they were assigned at birth."
@ -2,11 +2,8 @@ class Form::Lettings::Questions::Sheltered < ::Form::Question
definitialize(id,hsh,page)
super
@id="sheltered"
@check_answer_label="Is this letting in sheltered accommodation?"
@header="Is this letting in sheltered accommodation?"
@type="radio"
@check_answers_card_number=0
@hint_text="Sheltered housing and special retirement housing are for tenants with low-level care and support needs. This typically provides some limited support to enable independent living, such as alarm-based assistance or a scheme manager.</br></br>Extra care housing is for tenants with medium to high care and support needs, often with 24 hour access to support staff provided by an agency registered with the Care Quality Commission."
@ -2,11 +2,9 @@ class Form::Lettings::Questions::StarterTenancyType < ::Form::Question
definitialize(id,hsh,page)
super
@id="tenancy"
@check_answer_label=form.start_year_after_2024??"Type of main tenancy after the starter or introductory period has ended":"Type of main tenancy after the starter period has ended"
@header=form.start_year_after_2024??"What is the type of tenancy after the starter or introductory period has ended?":"What is the type of tenancy after the starter period has ended?"
"Do not include the starter or introductory period.</br>The minimum period is 2 years for social or affordable rent general needs logs. You do not need to submit CORE logs for these types of tenancies if they are shorter than 2 years."
else
"Do not include the starter or introductory period.</br>The minimum period is 2 years for social or affordable rent general needs logs and you do not need a log for shorter tenancies."
"Do not include the starter or introductory period.</br>The minimum period is 1 year for intermediate rent general needs logs. You do not need to submit CORE logs for these types of tenancies if they are shorter than 1 year."
else
"Do not include the starter or introductory period.</br>The minimum period is 1 year for intermediate rent general needs logs and you do not need a log for shorter tenancies."
@hint_text="The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example UPRN is 10010457355.<br><br>
@ -2,11 +2,8 @@ class Form::Lettings::Questions::Wheelchair < ::Form::Question
definitialize(id,hsh,page)
super
@id="wchair"
@check_answer_label="Property built or adapted to wheelchair-user standards"
@header="Is the property built or adapted to wheelchair-user standards?"
@type="radio"
@check_answers_card_number=0
@hint_text=form.start_year_after_2024??"This is whether someone who uses a wheelchair is able to make full use of all of the property’s rooms and facilities, including use of both inside and outside space, and entering and exiting the property.":""
@ -2,11 +2,8 @@ class Form::Lettings::Questions::WorkingSituation1 < ::Form::Question
definitialize(id,hsh,page)
super
@id="ecstat1"
@check_answer_label="Lead tenant’s working situation"
@header="Which of these best describes the lead tenant’s working situation?"
@type="radio"
@check_answers_card_number=1
@hint_text=form.start_year_after_2024??"":"The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -2,7 +2,7 @@ class Form::Sales::Pages::Address < ::Form::Page
definitialize(id,hsh,subsection)
super
@id="address"
@header="Q#{QUESTION_NUMBER_FROM_YEAR[form.start_date.year]||QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max]} - What is the property's address?"