Show the image button only if editing admin pages
That's the only place where we need to attach images so far.
This commit is contained in:
@@ -50,7 +50,8 @@
|
||||
|
||||
<div class="ckeditor margin-top">
|
||||
<%= f.label :content %>
|
||||
<%= f.cktext_area :content, label: false, cols: 80, rows: 10, ckeditor: { language: I18n.locale } %>
|
||||
<%= f.cktext_area :content, label: false, cols: 80, rows: 10,
|
||||
ckeditor: { language: I18n.locale, toolbar: "admin" } %>
|
||||
</div>
|
||||
|
||||
<div class="small-12 medium-6 large-3">
|
||||
|
||||
Reference in New Issue
Block a user