initial commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<span class="enabled">
|
||||
<%= title %>
|
||||
</span>
|
||||
<span class="disabled">
|
||||
<%= disabled_with %>
|
||||
</span>
|
||||
@@ -0,0 +1,7 @@
|
||||
<% if signed_in? %>
|
||||
<div>
|
||||
<%= link_to 'Home', root_path, class: 'bg-red-500' %>
|
||||
<%= link_to 'Sign out', destroy_user_session_path, data: { turbo_method: :delete } %>
|
||||
<%= current_user.email %>
|
||||
</div>
|
||||
<% end %>
|
||||
@@ -0,0 +1,11 @@
|
||||
<turbo-frame id="modal">
|
||||
<turbo-modal class="left-52 absolute top-0 z-50 bg-white h-[100vh] w-full">
|
||||
<div>
|
||||
Modal window Title
|
||||
<a href="#" data-action="click:turbo-modal#close">×</a>
|
||||
</div>
|
||||
<div>
|
||||
<%= yield %>
|
||||
</div>
|
||||
</turbo-modal>
|
||||
</turbo-frame>
|
||||
Reference in New Issue
Block a user