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

Put cases table in macro to reduce repeated code #251

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

adhil0
Copy link
Collaborator

@adhil0 adhil0 commented Dec 14, 2023

The cases table HTML was repeated in multiple places - this PR puts it in a callable macro, so now the table can be inserted easily anywhere. It also prevents instances where the table is altered on one page, but not the other.

@adhil0 adhil0 requested a review from dcritch December 14, 2023 00:03
Copy link
Contributor

@dcritch dcritch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call!

@dcritch dcritch merged commit 17c4b44 into main Dec 14, 2023
1 check passed
@adhil0 adhil0 deleted the cases_table_macro branch December 14, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants