app/views/pulitzer/content_elements/_show.html.erb in pulitzer-0.1.2 vs app/views/pulitzer/content_elements/_show.html.erb in pulitzer-0.1.3

- old
+ new

@@ -1,7 +1,16 @@ +<% if content_element.free_form? %> + <div class="pulitzer-row"> + <div class="pulitzer-span right"> + <%= render partial: '/pulitzer/shared/drag_handle' %> + </div> + </div> +<% end %> <div class="pulitzer-row"> <ul class="list"> - <li><h2><%= content_element.label %></h2></li> + <% if content_element.free_form? %> + <li><h2><%= content_element.label %></h2></li> + <% end %> <li><%= render_element(content_element) %></li> <li><%= ajax_link "Edit", edit_post_content_element_path(content_element.post, content_element), {}, dom_target(content_element) %></li> </ul> </div>