diff --git a/app/views/boards/edit/_publication.html.erb b/app/views/boards/edit/_publication.html.erb index 7cfc10ca6..5647fd3b2 100644 --- a/app/views/boards/edit/_publication.html.erb +++ b/app/views/boards/edit/_publication.html.erb @@ -4,18 +4,22 @@
Turn on the Public link to share this board with anyone in the world. They won’t need to log in and they won’t be able to see anything else in Fizzy.
+ <% publication_switch_id = "board-#{board.id}-publication-switch" %> + <% if board.published? %>
- <%= icon_tag "lock" %> + - <%= icon_tag "world" %> +
@@ -41,15 +45,17 @@ <% else %>
- <%= icon_tag "lock" %> + - <%= icon_tag "world" %> +
<% end %>