Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate gender balance promo into a partial #15557

Open
octopusinvitro opened this issue Sep 21, 2016 · 0 comments
Open

Separate gender balance promo into a partial #15557

octopusinvitro opened this issue Sep 21, 2016 · 0 comments

Comments

@octopusinvitro
Copy link
Contributor

Problem

At the moment, the gender-balance section is hard-coded in two different pages, the Country page and the House page. Since it is the same bit of code, if we make changes to it on one page, we have to remember to make the same changes in the other page.

Proposed Solution

Separate that section into its own partial and inject it in the above mentioned pages.

Acceptance Criteria

Making changes to that section does not require to remember to make changes in all the pages were the section is hardcoded, but just in one place (the partial).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants