%div{ :'data-role' => :content, :'data-theme' => 'c', :class => 'middle-dialog'}
%orm{ :action => images_url, :method => :post} %nput{ :type => :hidden, :name => :instance_id, :value => instance.id} %iv{ 'data-role' => :fieldcontain } %abel{ :for => :name} Name: %nput{ :type => :text, :id => :name, :name => :name, :value => '' } %iv{ 'data-role' => :fieldcontain } %abel{ :for => :description} Description: %nput{ :type => :text, :id => :description, :name => :description, :value => '' } %utton{ :type => :submit} Create