From 62ae7f6ccfb29ed017be85623b92a36639225564 Mon Sep 17 00:00:00 2001 From: Daniel Kastl Date: Wed, 1 May 2024 13:24:37 +0900 Subject: [PATCH] Adds wiki-edit class to form element, fixes #35 --- app/views/text_blocks/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/text_blocks/_form.html.erb b/app/views/text_blocks/_form.html.erb index 5d7d37c..b573349 100644 --- a/app/views/text_blocks/_form.html.erb +++ b/app/views/text_blocks/_form.html.erb @@ -2,7 +2,7 @@

<%= f.text_field :name, required: true, size: 25 %>

-

<%= f.text_area :text, label: l(:field_text_block_text), rows: 10 %>

+

<%= f.text_area :text, label: l(:field_text_block_text), rows: 10, class: 'wiki-edit' %>

<%= content_tag :label, l(:label_issue_status_plural) %> <%= f.collection_select :issue_status_ids,