aboutsummaryrefslogtreecommitdiffstats
path: root/test/dummy/app
diff options
context:
space:
mode:
Diffstat (limited to 'test/dummy/app')
-rw-r--r--test/dummy/app/views/messages/_form.html.erb2
-rw-r--r--test/dummy/app/views/messages/show.html.erb5
2 files changed, 3 insertions, 4 deletions
diff --git a/test/dummy/app/views/messages/_form.html.erb b/test/dummy/app/views/messages/_form.html.erb
index 6ead526229..c8edcb78e5 100644
--- a/test/dummy/app/views/messages/_form.html.erb
+++ b/test/dummy/app/views/messages/_form.html.erb
@@ -18,7 +18,7 @@
<div class="field">
<%= form.label :content %>
- <%= form.active_text_field :content %>
+ <%= form.active_text_field :content, class: "trix-content" %>
</div>
<div class="actions">
diff --git a/test/dummy/app/views/messages/show.html.erb b/test/dummy/app/views/messages/show.html.erb
index 052d358206..25fad1efba 100644
--- a/test/dummy/app/views/messages/show.html.erb
+++ b/test/dummy/app/views/messages/show.html.erb
@@ -5,10 +5,9 @@
<%= @message.subject %>
</p>
-<p>
- <strong>Content:</strong>
+<div class="trix-content">
<%= @message.content.html_safe %>
-</p>
+</div>
<%= link_to 'Edit', edit_message_path(@message) %> |
<%= link_to 'Back', messages_path %>