diff --git a/app/views/cards/_description_as_draft_comment.html.erb b/app/views/cards/_description_as_draft_comment.html.erb deleted file mode 100644 index 5e7a1cd71..000000000 --- a/app/views/cards/_description_as_draft_comment.html.erb +++ /dev/null @@ -1,29 +0,0 @@ -
-
- - -
-
-
- <%= tag.house_md card.draft_comment, name: "card[draft_comment]", class: "input comment__input", - form: "card_form", - placeholder: new_comment_placeholder(card), - data: { action: "house-md:change->outlet-auto-save#change focusout->outlet-auto-save#submit", uploads_url: uploads_url(format: "json") } %> -
- - <% if card.creating? %> -
- <%= button_to "Create card", card_publish_path(card), class: "btn btn--reversed" %> - <%= button_to "Save as draft", collection_card_path(card.collection, card), name: "card[status]", value: "drafted", method: :put, class: "btn" %> -
- <% end %> -
-
-
-
- diff --git a/app/views/cards/show.html.erb b/app/views/cards/show.html.erb index df993c968..56ca920bb 100644 --- a/app/views/cards/show.html.erb +++ b/app/views/cards/show.html.erb @@ -34,7 +34,5 @@ <% if @card.published? %> <%= render "cards/messages", card: @card %> - <% else %> - <%= render "cards/description_as_draft_comment", card: @card %> <% end %>