Skip to content

Commit

Permalink
Allow rearranging of welcome messages
Browse files Browse the repository at this point in the history
  • Loading branch information
cdccollins committed Dec 6, 2024
1 parent 5b5e7f1 commit 4f9ee95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/views/groups/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
<% @group.contents.order(:position).each do |content| %>
<tr class="border-b-2" data-sortable-update-url="<%= update_position_path(content) %>">
<td class="p-4">
<% unless content.welcome_message? %>
<svg class="cursor-grab" width="20px" height="20px" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="#ccc"><path d="M3 5H21" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 12H21" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 19H21" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>
<% end %>
<svg class="cursor-grab" width="20px" height="20px" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="#ccc"><path d="M3 5H21" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 12H21" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 19H21" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>
</td>
<td class="p-4">
<% if content.welcome_message? %>
Expand Down

0 comments on commit 4f9ee95

Please sign in to comment.