stage 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stage/version.rb +1 -1
- data/website/index.txt +2 -2
- metadata +1 -1
data/lib/stage/version.rb
CHANGED
data/website/index.txt
CHANGED
@@ -136,7 +136,7 @@ As you can see, there are <model>_<field>_value methods. These are
|
|
136
136
|
if @action_name == "show"
|
137
137
|
@page.title
|
138
138
|
else
|
139
|
-
text_field :name => "page[title]"
|
139
|
+
text_field :name => "page[title]", :value => @page.title
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
@@ -144,7 +144,7 @@ As you can see, there are <model>_<field>_value methods. These are
|
|
144
144
|
if @action_name == "show"
|
145
145
|
@page.content
|
146
146
|
else
|
147
|
-
text_field :name => "page[content]"
|
147
|
+
text_field :name => "page[content]", :value => @page.content
|
148
148
|
end
|
149
149
|
end
|
150
150
|
end
|