Templates

{#if templates.length > 0}

My Templates ({templates.length})

{#each templates as template (template._id)} openTemplateDetail(template)} /> {/each}
{:else}

No templates yet. Create one or start an empty workout.

{/if}
{#if selectedTemplate} {/if} {#if showTemplateEditor} {#if editorPicker} { editorAddExercise(id); editorPicker = false; }} onClose={() => editorPicker = false} /> {/if} {/if} {#if !workout.active} {/if}