Add cancel/reset buttons for thumbnail edit

thrimbletrimmer-solid
ElementalAlchemist 2 weeks ago
parent a50d5d11b2
commit 26785b1958

@ -334,6 +334,7 @@ const ThumbnailManager: Component = () => {
</div> </div>
<div> <div>
<button type="submit">Submit</button> <button type="submit">Submit</button>
<button type="button" onClick={(event) => setEditing(false)}>Cancel</button>
<ul class={styles.templateUpdateErrors}> <ul class={styles.templateUpdateErrors}>
<For each={formErrors()}> <For each={formErrors()}>
{(error: string, index: Accessor<number>) => <li>{error}</li>} {(error: string, index: Accessor<number>) => <li>{error}</li>}
@ -466,6 +467,7 @@ const ThumbnailManager: Component = () => {
</span> </span>
</div> </div>
<button type="submit">Add Template</button> <button type="submit">Add Template</button>
<button type="reset">Reset</button>
</form> </form>
<GoogleSignIn /> <GoogleSignIn />
</> </>

Loading…
Cancel
Save