cowtech-rails 1.5.3.0 → 1.6.0.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -191,6 +191,10 @@ module Cowtech
|
|
191
191
|
data[:sort_order] = sort_expression.gsub("@PLACEHOLDER@", "#{sort.what} #{sort.how}")
|
192
192
|
end
|
193
193
|
|
194
|
+
def crud_get_form_data
|
195
|
+
@record
|
196
|
+
end
|
197
|
+
|
194
198
|
def crud_form_header(female = false)
|
195
199
|
if self.crud_get_form_data.new_record? then
|
196
200
|
"Create new"
|
data/lib/cowtech/version.rb
CHANGED