Toggle bump buttona via JS
This commit is contained in:
@ -5,16 +5,19 @@
|
||||
></div>
|
||||
<span class="category_name">{{this.category.name}}</span>
|
||||
<div class="category_button_container">
|
||||
{{#if this.category.started}}
|
||||
<form
|
||||
action="/category/{{@key}}/bump_session/minutes/5"
|
||||
id="bump-form-{{@key}}"
|
||||
method="post"></form>
|
||||
<button
|
||||
{{#if this.category.started}}
|
||||
class="category_bump_button"
|
||||
{{else}}
|
||||
class="category_bump_button display_none"
|
||||
{{/if}}
|
||||
id="bump-button-{{@key}}"
|
||||
form="bump-form-{{@key}}"
|
||||
type="submit">+5m</button>
|
||||
{{/if}}
|
||||
<!-- without this extra tag, every even noscript tag seems to not trigger -->
|
||||
<!-- what is even happening help -->
|
||||
<noscript></noscript>
|
||||
|
||||
Reference in New Issue
Block a user