11 lines
475 B
Plaintext
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>
|