Renders menu after heading

pull/6827/head
Hagen Schink 11 years ago committed by kgalli
parent 3f70659dbf
commit ae82e8e8d1
  1. 9
      app/views/my_projects_overviews/_block_textilizable.html.erb
  2. 3
      app/views/my_projects_overviews/_textilizable.html.erb

@ -21,6 +21,7 @@ See doc/COPYRIGHT.md for more details.
<div id="block_<%= block_name.dasherize %>" class="mypage-box">
<% content_for block_name do %>
<div class="box-actions">
<%= link_to_remote l(:button_delete), {
:confirm => l(:label_confirm_delete),
@ -64,10 +65,12 @@ See doc/COPYRIGHT.md for more details.
<a href="#" onclick="return editTextilizable('<%= block_name %>');"
class="icon icon-edit"><%= l(:button_edit) %></a>
</div>
</div>
</div>
<% end %>
<%= render :partial => "textilizable",
:locals => { :block_title => block_title,
:textile => textile }
:textile => textile,
:block_name => block_name }
%>
</div>
</div>
</div>

@ -20,4 +20,7 @@ See doc/COPYRIGHT.md for more details.
++#%>
<h2 class="page-layout-only"><%= block_title || l(:label_custom_element) %></h2>
<% if defined? block_name %>
<%= content_for block_name %>
<% end %>
<%= textilizable(textile, :object => overview) %>

Loading…
Cancel
Save