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