diff --git a/app/views/cards/container/_title.html.erb b/app/views/cards/container/_title.html.erb index 3f2ff79c7..451914953 100644 --- a/app/views/cards/container/_title.html.erb +++ b/app/views/cards/container/_title.html.erb @@ -17,13 +17,12 @@ autofocus: card.title.blank? || params[:focus_on_title], rows: 1, data: { autoresize_target: "textarea", action: "input->autoresize#resize auto-save#change blur->auto-save#submit keydown.enter->auto-save#submit:prevent keydown.ctrl+enter->auto-save#submit:prevent" } %> -
- <%= form.rich_textarea :description, class: "card-field__description", - placeholder: "Add some notes, context, pictures, or video about this…", - data: { action: "actiontext:change->auto-save#change focusout->auto-save#submit keydown.ctrl+enter->form#submit:prevent keydown.meta+enter->form#submit:prevent keydown.esc->form#cancel:stop" } do %> - <%= mentions_prompt(card.collection) %> - <%= cards_prompt %> + + <%= form.rich_textarea :description, class: "card-field__description", + placeholder: "Add some notes, context, pictures, or video about this…", + data: { action: "actiontext:change->auto-save#change focusout->auto-save#submit keydown.ctrl+enter->form#submit:prevent keydown.meta+enter->form#submit:prevent keydown.esc->form#cancel:stop" } do %> + <%= mentions_prompt(card.collection) %> + <%= cards_prompt %> <% end %> -
<% end %> <% end %> diff --git a/app/views/cards/edit.html.erb b/app/views/cards/edit.html.erb index 8cf623422..5813d2e32 100644 --- a/app/views/cards/edit.html.erb +++ b/app/views/cards/edit.html.erb @@ -14,7 +14,7 @@ <%= mentions_prompt(@card.collection) %> <%= cards_prompt %> <% end %> - + <%= form.button "Save changes", type: :submit, class: "btn btn--reversed", style: "--btn-background: #{@card.color}" %> <%= link_to "Close editor and discard changes", collection_card_path(@card.collection, @card), data: { form_target: "cancel" }, hidden: true %> <% end %>