Chemscribbler / aesopstables

2 stars 10 forks source link

Feature/hide table number registeration by default #26

Closed tzanetl closed 9 months ago

tzanetl commented 10 months ago

Make fixed table input field hidden based on the checkbox value.

I also noticed the edit player page is missing searchable dropdowns added in https://github.com/Chemscribbler/aesopstables/pull/24 (and would be missing the features in this PR as well). Since edit player page and registration page are identical, except for the register/edit button, I looked around and turns out you can do conditional rendering with jinja. I added a simple if -statement to switch between the two buttons.

@Chemscribbler Ready for review :)

Chemscribbler commented 10 months ago

Thanks - I'll test and close this out this weekend!