Update button text for toggling exercise and routine creation to use 'x' instead of 'Close'

This commit is contained in:
2026-02-04 21:51:15 +01:00
parent 00688eb548
commit fae57c6c75
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
<header class="page-header"> <header class="page-header">
<h1>Exercises</h1> <h1>Exercises</h1>
<p>Create and manage your exercise list.</p> <p>Create and manage your exercise list.</p>
<button class="primary" @onclick="ToggleCreate">@(ShowCreateExercise ? "Close" : "+")</button> <button class="primary" @onclick="ToggleCreate">@(ShowCreateExercise ? "x" : "+")</button>
</header> </header>
@if (ShowCreateExercise) @if (ShowCreateExercise)

View File

@@ -12,7 +12,7 @@
<header class="page-header"> <header class="page-header">
<h1>Routines</h1> <h1>Routines</h1>
<p>Build routines from your exercise list.</p> <p>Build routines from your exercise list.</p>
<button class="primary" @onclick="ToggleCreate">@(ShowCreateRoutine ? "Close" : "+")</button> <button class="primary" @onclick="ToggleCreate">@(ShowCreateRoutine ? "x" : "+")</button>
</header> </header>
@if (ActiveRun is null) @if (ActiveRun is null)