Finish MVP for content editing
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<% if @editable_content.has_content? %>
|
||||
<% if @editable_content.rich_text %>
|
||||
<%= helpers.markdown_to_html @editable_content.content %>
|
||||
<% else %>
|
||||
<%= @editable_content.content %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= @default %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user