cowtech-rails 1.5.3.0 → 1.6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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