= form_for @record, :url => main_app.url_for([:dash, @record]) do |f| %ul %li.actions = f.submit