Created
March 3, 2021 15:20
-
-
Save ignaciojonas/a9e90a5fa14cb1e741a03ee4f86cbc8b to your computer and use it in GitHub Desktop.
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
<%= turbo_frame_tag dom_id(style) do %> | |
<div class="card m-4"> | |
<div class="card-title"> | |
<%= style.name %> | |
</div> | |
<div class="card-body"> | |
<%= style.description %> | |
</div> | |
<div class="card-footer bg-transparent border-success"> | |
<%= link_to 'Edit', edit_style_path(style) %> | |
<%= link_to 'Destroy', style, method: :delete, data: { confirm: 'Are you sure?' } %> | |
</div> | |
</div> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment