From b9659cdfc52aec4a2063b2af8e24033f98e380d8 Mon Sep 17 00:00:00 2001 From: Harry Wood Date: Fri, 29 Apr 2022 00:52:21 +0100 Subject: [PATCH] Add kramdown info box with preview button --- app/views/reports/new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb index 6c12c14e3..8106ccfc9 100644 --- a/app/views/reports/new.html.erb +++ b/app/views/reports/new.html.erb @@ -18,6 +18,6 @@ <% end %> <%= f.collection_radio_buttons :category, report_categories(@report.issue.reportable), :id, :label %> - <%= f.text_area :details, :rows => 5, :label_as_placeholder => true %> + <%= f.richtext_field :details, :rows => 18, :label_as_placeholder => true, :format => "markdown" %> <%= f.primary %> <% end %> -- 2.39.5