From dea30ecd0bf4137e8c75976499df3fdddde8f844 Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Tue, 2 Oct 2018 13:33:40 -0400 Subject: Insert hidden before Fixes #3 --- app/helpers/action_text/tag_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/helpers/action_text/tag_helper.rb b/app/helpers/action_text/tag_helper.rb index 0033538773..28c62166dd 100644 --- a/app/helpers/action_text/tag_helper.rb +++ b/app/helpers/action_text/tag_helper.rb @@ -15,7 +15,7 @@ module ActionText editor_tag = content_tag("trix-editor", "", options) input_tag = hidden_field_tag(name, value, id: options[:input]) - editor_tag + input_tag + input_tag + editor_tag end end end -- cgit v1.2.3