Files
fizzy/app/views/public/cards/show/_content.html.erb
T
Mike Dalessio b05ecb7809 Update card buttons dynamically
User flows when editing a card look like:
- Click "Edit" → the closure buttons are replaced by "Save changes"
- Submit card form → Saves and restores closure buttons
- Press ESC while editing → Cancels and restores closure buttons

Also, renamed for clarity:
- _title.html.erb → _content.html.erb

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 12:14:39 -05:00

9 lines
278 B
Plaintext

<div class="card__content">
<h1 class="card__title flex align-start gap-half">
<%= tag.span card.title, class: "card__title-link" %>
</h1>
<div class="card__description rich-text-content" data-controller="syntax-highlight">
<%= card.description %>
</div>
</div>