diff --git a/app/views/tasks/_form.html.erb b/app/views/tasks/_form.html.erb index 6cab2c70..13e34352 100644 --- a/app/views/tasks/_form.html.erb +++ b/app/views/tasks/_form.html.erb @@ -99,14 +99,39 @@ <%= form.text_field :content, class: "form-control", placeholder: "タスクの内容を入力してください", required: true %> -
- <%= form.label :description, "説明", class: "form-label fw-bold" %> - <%= form.text_area :description, class: "form-control", rows: 10, placeholder: "タスクの説明を入力してください" %> +
+ + + + +
+ <%= form.text_area :description, class: "border-2 w-full", rows: 10, id: "write-area", placeholder: "タスクの説明を入力してください" %> +
+
+
+
+
+
+
<%= form.submit "保存", class: "btn btn-danger" %>
+ + <%= javascript_include_tag 'prevent_transition_in_editing' %> <% end %>