Files
fizzy/app/views/cards/display/perma/_steps.html.erb
T
2025-09-30 18:11:24 -05:00

11 lines
475 B
Plaintext

<ol class="steps txt-small margin-block-start-auto">
<%= render partial: "cards/steps/step", collection: card.steps, as: :step %>
<li class="step">
<input type="checkbox" class="step__checkbox" disabled>
<%= form_with model: [card, Step.new], url: card_steps_path(card) do |form| %>
<%= form.text_field :content, class: "input step__content hide-focus-ring", placeholder: "Add a step…", required: true, autocomplete: "off" %>
<% end %>
</li>
</ol>