From ebe0c2e0199e16c82111336cdf6b5401f2904a76 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Mon, 9 Feb 2015 18:22:11 -0800 Subject: [PATCH] expose embed notes option --- app/views/posts/partials/show/_edit.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/posts/partials/show/_edit.html.erb b/app/views/posts/partials/show/_edit.html.erb index a1e1d6d66..ec3f4f6b4 100644 --- a/app/views/posts/partials/show/_edit.html.erb +++ b/app/views/posts/partials/show/_edit.html.erb @@ -33,12 +33,14 @@ <% end %> - <% if CurrentUser.is_builder? %> + <% unless post.is_note_locked? %>
<%= f.label :has_embedded_notes, "Embed notes" %> <%= f.check_box :has_embedded_notes %>
+ <% end %> + <% if CurrentUser.is_builder? %>
<%= f.label :blank, "Lock" %>