Skip to content

Commit

Permalink
create all
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Oct 21, 2024
1 parent 1862a89 commit 24008d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/views/com/panel/pg_publications/_index/_button.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<div data-switch-target="src" class="buttons are-small mb-0">
<%= button_to({ action: 'new', **request.query_parameters.except(:id) }, class: 'button is-link') do %>
<i class="fa-solid fa-plus"></i>
<span class="ml-1"><%= t('.new.title') %></span>
<% end %>
<%= button_to({ action: 'create_all' }, class: 'button is-danger') do %>
<i class="fa-solid fa-plus"></i>
<span class="ml-1"><%= t('.create_all.title') %></span>
<% end %>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<%= turbo_stream.append 'body', partial: 'visit' %>

0 comments on commit 24008d2

Please sign in to comment.