-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1862a89
commit 24008d2
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
app/views/com/panel/pg_publications/_index/_button.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
1 change: 1 addition & 0 deletions
1
app/views/com/panel/pg_publications/create_all.turbo_stream.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<%= turbo_stream.append 'body', partial: 'visit' %> |