x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<div data-action='click->subscribe-notes#subscribeToNotes' data-controller='tooltip subscribe-notes' data-subscribe-notes-is-subbed-value='true' data-subscribe-notes-ontology-id-value='' data-subscribe-notes-unwatch-value='Unwatch' data-subscribe-notes-user-id-value='' data-subscribe-notes-watch-value='Watch' id='' style='margin-left: 10px;' title='Unwatch this resource'>
<button class='pill-button'>
<a class='d-flex align-items-center' data-turbo='true' href='javascript:void(0);'>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" height="14" viewbox="0 0 20 14" width="20">
<path d="M10.0001 0.415132C6.25672 0.415132 2.67253 3.16921 0.306647 6.02839C-0.102216 6.52254 -0.102216 7.23985 0.306647 7.73397C0.901484 8.45285 2.14805 9.83978 3.81325 11.0519C8.0074 14.1048 11.9847 14.1106 16.187 11.0519C18.1432 9.62794 19.6936 7.76068 19.6936 7.73397C20.1024 7.23985 20.1024 6.52254 19.6936 6.02843C17.328 3.16959 13.7443 0.415132 10.0001 0.415132ZM10.0001 12.1156C5.85321 12.1156 2.25847 8.16088 1.25554 6.9488C1.23983 6.92977 1.23123 6.90586 1.23123 6.88118C1.23123 6.8565 1.23983 6.83259 1.25554 6.81356C2.25851 5.60148 5.85321 1.64676 10.0001 1.64676C14.147 1.64676 17.7417 5.60148 18.7447 6.81356C18.8031 6.88426 18.7408 6.9488 18.7447 6.9488C17.7417 8.16088 14.147 12.1156 10.0001 12.1156Z" fill="var(--primary-color)"></path>
<path d="M10.0001 2.57001C7.62316 2.57001 5.68939 4.50378 5.68939 6.88071C5.68939 9.25763 7.62316 11.1914 10.0001 11.1914C12.377 11.1914 14.3108 9.25763 14.3108 6.88071C14.3108 4.50378 12.377 2.57001 10.0001 2.57001ZM10.0001 9.95978C8.30229 9.95978 6.92102 8.57851 6.92102 6.88071C6.92102 5.18291 8.30229 3.80164 10.0001 3.80164C11.6979 3.80164 13.0792 5.18291 13.0792 6.88071C13.0792 8.57851 11.6979 9.95978 10.0001 9.95978Z" fill="var(--primary-color)"></path>
</svg>
<div>
<span data-subscribe-notes-target='text'>
Unwatch
</span>
(
<span data-subscribe-notes-target='count'>
0
</span>
)
</div>
</a>
<span class='px-1' data-subscribe-notes-target='loader' style='display: none;'>
<div class="d-flex align-items-center flex-column">
<div class="spinner-border spinner-border-sm">
<div class="spinner-text my-2">Loading</div>
</div>
</div>
</span>
</button>
<span class='notes_sub_error' data-subscribe-notes-target='error' style='color: red; display: none'></span>
</div>
1
render OntologySubscribeButtonComponent.new(ontology_id: '', subscribed: true, user_id: '')