manuscript 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/manuscript.gemspec +1 -1
- data/views/page.haml +1 -1
- data/views/template.haml +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/manuscript.gemspec
CHANGED
data/views/page.haml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
%p
|
2
2
|
%a{ :href => "/admin/pages" } « back
|
3
|
-
%form{:method =>:post, :action => "/admin/pages/#{@page.id unless @page.new_record? }"}
|
3
|
+
%form{:method =>:post, 'accept-charset' => "utf-8", :action => "/admin/pages/#{@page.id unless @page.new_record? }"}
|
4
4
|
- unless @page.new_record?
|
5
5
|
%input{ :type => :hidden, :name => "_method", :value => :put }
|
6
6
|
%fieldset
|
data/views/template.haml
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
- else
|
7
7
|
%h1 Template
|
8
8
|
|
9
|
-
%form{:method =>:post, :action => "/admin/#{(@template.layout?&&@template.new_record?) ? "layouts" : "templates"}/#{@template.id unless @template.new_record?}"}
|
9
|
+
%form{:method =>:post, 'accept-charset' => "utf-8", :action => "/admin/#{(@template.layout?&&@template.new_record?) ? "layouts" : "templates"}/#{@template.id unless @template.new_record?}"}
|
10
10
|
- unless @template.new_record?
|
11
11
|
%input{ :type => :hidden, :name => "_method", :value => :put }
|
12
12
|
%fieldset
|