Skip to content

label and suffix_label fields seem broken #4553

@kevindew

Description

@kevindew

As discovered in: #4502

We provide users with an ability to set a label and it doesn't seem to have an affect on the page rendered.

As an example we define one in lib/smart_answer_flows/calculate-your-holiday-entitlement/questions/shift_worker_hours_per_shift.govspeak.erb:

However when we view the page for it there doesn't seem to be any output of it.

I can see suffix labels seem to output:

<% render_content_for :suffix_label do %>
per week
<% end %>

but I'm not sure that is entirely right based on this example note:

Screenshot 2020-05-28 at 17 27 20

Looks like this might be tied into 95f1463 where a string concatenation process was added that omitted label.

I think to resolve this issue we need to work out whether these inputs provide input. If so where do they go? if not we can delete them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions