diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-07 21:43:21 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-07 21:43:21 +0200 |
| commit | 42f81016be8c55322e0dbb2c20b08812d5d2228b (patch) | |
| tree | 9dff0e0e365d0c6c663c1b081a0258d6a78d1a7b /app/views/admin | |
| parent | ae29567bea75b28bd3f5655b6bf3e6444d51eb38 (diff) | |
Adopt button pills in views
Diffstat (limited to 'app/views/admin')
| -rw-r--r-- | app/views/admin/_drafts.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/_drafts.html.erb b/app/views/admin/_drafts.html.erb index a35b0ab..4ef568f 100644 --- a/app/views/admin/_drafts.html.erb +++ b/app/views/admin/_drafts.html.erb | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | <td class="actions"> | 17 | <td class="actions"> |
| 18 | <%= link_to 'Show', node_path(draft.node) %> | 18 | <%= link_to 'Show', node_path(draft.node) %> |
| 19 | <%= link_to "Revisions", revision_path(draft.node.id) %> | 19 | <%= link_to "Revisions", revision_path(draft.node.id) %> |
| 20 | <%= button_to "Publish", publish_node_path(draft.node), method: :put, form: { data: { confirm: "Do you really want to publish?" } } %> | 20 | <%= button_to "Publish", publish_node_path(draft.node), method: :put, form: { data: { confirm: "Do you really want to publish?" }, class: 'button_to state_changing' } %> |
| 21 | </td> | 21 | </td> |
| 22 | </tr> | 22 | </tr> |
| 23 | <% end %> | 23 | <% end %> |
