Improved translation possibility.

This commit is contained in:
Martin Edenhofer 2012-05-20 10:51:53 +02:00
parent bad459a9a1
commit 341ccb1418

View file

@ -12,7 +12,7 @@ class App.ControllerGenericNew extends App.ControllerModal
render: ->
@html App.view('generic/admin/new')(
form: @formGen( model: @genericObject ),
head: 'New ' + @pageData.object
head: @pageData.object
)
@modalShow()
@ -66,7 +66,7 @@ class App.ControllerGenericEdit extends App.ControllerModal
render: ->
@html App.view('generic/admin/edit')(
form: @formGen( model: @genericObject, params: @item ),
head: 'Edit ' + @pageData.object
head: @pageData.object
)
@modalShow()