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