small changes

This commit is contained in:
Andreas Stephanides
2013-03-12 15:09:39 +01:00
parent 24694612e8
commit 96278af065
4 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
<%= semantic_form_for @page do |f| %>
<%= f.inputs do %>
<%= f.input :name %>
<%= f.input :body, :as=>:text,:input_html=>{:style=>"width:100%"} %>
<%= f.input :body, :as=>:text,:input_html=>{:style=>"width:100%;font-familiy:Times New Roman;"} %>
<%= f.input :change_comment %>
<% end %>
<%= tinymce %>

View File

@@ -2,7 +2,7 @@
= breadcrumbs(@page)
%h4
= "Page name: #{@page.name}"
= "#{@page.name}"
= link_to '(Edit)', edit_page_path(@page)
= link_to '(Destroy)', @page, :remote => true, :confirm => 'Are you sure?', :method => :delete