stage 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
data/lib/stage/version.rb
CHANGED
@@ -11,7 +11,7 @@ module Merb
|
|
11
11
|
<%= " " * counter %> if @action_name == "show"
|
12
12
|
<%= " " * counter %> @<%= resource_name %>.<%= attr.first %>
|
13
13
|
<%= " " * counter %> else
|
14
|
-
<%= " " * counter %> text_field :name => "<%=resource_name%>[<%= attr.first %>]"
|
14
|
+
<%= " " * counter %> text_field :name => "<%=resource_name%>[<%= attr.first %>]", :value => @<%= resource_name %>.<%= attr.first %>
|
15
15
|
<%= " " * counter %> end
|
16
16
|
<%= " " * counter %> end
|
17
17
|
|