diff --git a/app/assets/stylesheets/utilities.css b/app/assets/stylesheets/utilities.css
index 5b73e1266..0f487e1f9 100644
--- a/app/assets/stylesheets/utilities.css
+++ b/app/assets/stylesheets/utilities.css
@@ -116,6 +116,8 @@
pointer-events: none;
}
+ .cursor-pointer { cursor: pointer; }
+
/* Padding */
.pad { padding: var(--block-space) var(--inline-space); }
.pad-double { padding: var(--block-space-double) var(--inline-space-double); }
diff --git a/app/views/boards/edit/_publication.html.erb b/app/views/boards/edit/_publication.html.erb
index 7cfc10ca6..c0f60cd77 100644
--- a/app/views/boards/edit/_publication.html.erb
+++ b/app/views/boards/edit/_publication.html.erb
@@ -6,17 +6,17 @@
<% if board.published? %>
-
- <%= icon_tag "lock" %>
-
+
<%= icon_tag "world" %>
+ <% end %>
<%= text_field_tag :publication_url, published_board_url(board), readonly: true, class: "full-width input fill-white" %>
@@ -40,17 +40,17 @@
<% else %>
-
- <%= icon_tag "lock" %>
-
- <%= form_with url: board_publication_path(board), method: :post, data: { controller: "form" } do |form| %>
+ <%= form_with url: board_publication_path(board), method: :post, class: "flex-inline center justify-between gap", data: { controller: "form" } do |form| %>
+ <%= icon_tag "lock" %>
+
+
<%= form.check_box :published, class: "switch__input", checked: false, data: { action: "change->form#submit" }, disabled: !Current.user.can_administer_board?(@board) %>
- Turn on the public link
- <% end %>
+
+ <%= icon_tag "world" %>
+ Turn on the public link
- <%= icon_tag "world" %>
-
+ <% end %>
<% end %>
<% end %>
diff --git a/app/views/webhooks/edit.html.erb b/app/views/webhooks/edit.html.erb
index 9075683a4..badb16bc3 100644
--- a/app/views/webhooks/edit.html.erb
+++ b/app/views/webhooks/edit.html.erb
@@ -15,7 +15,7 @@
<%= form.label :actions do %>
Events
-
Trigger a call to the Payload URL when these things occur:
+
Trigger a call to the Payload URL when:
<% end %>
<%= render "webhooks/form/actions", form: form %>
diff --git a/app/views/webhooks/form/_actions.html.erb b/app/views/webhooks/form/_actions.html.erb
index a887fa644..95a287abe 100644
--- a/app/views/webhooks/form/_actions.html.erb
+++ b/app/views/webhooks/form/_actions.html.erb
@@ -4,13 +4,14 @@
webhook_action_options,
:first,
:last do |item| %>
-
-
- <%= item.check_box(class: "switch__input") %>
-
- <%= item.text %>
+
+
+
+ <%= item.check_box(class: "switch__input") %>
+
+
+ <%= item.text %>
- <%= item.text %>
<% end %>
diff --git a/app/views/webhooks/new.html.erb b/app/views/webhooks/new.html.erb
index 02522aedb..e1a6af513 100644
--- a/app/views/webhooks/new.html.erb
+++ b/app/views/webhooks/new.html.erb
@@ -31,7 +31,7 @@
<%= form.label :actions do %>
Events
-
Trigger a call to the Payload URL when these things occur:
+
Trigger a call to the Payload URL when:
<% end %>
<%= render "webhooks/form/actions", form: form %>