CKEditor.

Edition of page part for single language.
This commit is contained in:
chris2tof committed 2011-05-25 16:27:17 +08:00
1 parent d971a8ecbe
commit a8c4e17c56
664 files changed
+119327 -10

No files matched your search

+2 -1
View File
@@ -1 +1,2 @@
$('#main').html("<%= escape_javascript(render(:partial => 'admin/links/show')) %>");
$('#main').html("<%= escape_javascript(render(:partial => 'admin/links/show')) %>");
history.pushState(null, document.title, "<%= escape_javascript(admin_link_url(@item)) %>");
+10 -1
View File
@@ -1 +1,10 @@
<h1>EDIT</h1>
<%= flash_messages %>
<%= form_for @part, :url => admin_page_part_path(@part), :html => { :class => 'form' } do |f| %>
<%= render :partial => "admin/page_parts/form", :locals => { :f => f } %>
<p>
<%= f.submit t(:update) %> <%= link_back %>
</p>
<% end %>
@@ -0,0 +1,3 @@
<%= f.error_messages %>
<%= f.cktext_area :content, :toolbar=>'Custom', :width=>'700px', :height=>'200px' %>
+2
View File
@@ -0,0 +1,2 @@
$('#main').html("<%= escape_javascript(render(:partial => 'admin/pages/show' )) %>");
history.pushState(null, document.title, "<%= escape_javascript(admin_page_url(@item)) %>");
+2
View File
@@ -1,3 +1,5 @@
<%= flash_messages %>
<%= parse_page_edit(@item).html_safe %>
<% content_for :page_specific_javascript do %>