Sha256: dfffd3a408cb9b46e3fad5bf72de309f5791fc9a5bc2048dcc67cfbdd314bffb
Contents?: true
Size: 493 Bytes
Versions: 45
Compression:
Stored size: 493 Bytes
Contents
%form{:action => "#{packet.route_to(model_name, 'new')}", :method => 'post', :enctype=>"multipart/form-data"} - for prop in props - next if [:path, :secondary_path].include?(prop[:name]) %p= view_attribute(prop, model_name, :label => true) %p %label File %br %input{:type => 'file', :name => "#{model_name}[file]"} %p %label Secondary File %br %input{:type => 'file', :name => "#{model_name}[file2]"} %input{:type => 'submit', :value => 'Save New Item'}
Version data entries
45 entries across 45 versions & 2 rubygems