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

Version Path
orange-more-0.7.3 lib/orange-more/assets/views/assets/create.haml
orange-more-0.7.2 lib/orange-more/assets/views/assets/create.haml
orange-more-0.7.1 lib/orange-more/assets/views/assets/create.haml
orange-more-0.6.5 lib/orange-more/assets/views/assets/create.haml
orange-more-0.6.4 lib/orange-more/assets/views/assets/create.haml
orange-more-0.6.3 lib/orange-more/assets/views/assets/create.haml
orange-more-0.6.2 lib/orange-more/assets/views/assets/create.haml
orange-more-0.6.0 lib/orange-more/assets/views/assets/create.haml
orange-more-0.5.8 lib/orange-more/assets/views/assets/create.haml
orange-more-0.5.7 lib/orange-more/assets/views/assets/create.haml
orange-0.5.5 lib/orange-more/assets/views/assets/create.haml
orange-0.5.4 lib/orange-more/assets/views/assets/create.haml
orange-0.5.3 lib/orange-more/assets/views/assets/create.haml
orange-0.5.2 lib/orange-more/assets/views/assets/create.haml
orange-0.5.1 lib/orange-more/assets/views/assets/create.haml
orange-0.4.0 lib/orange-more/assets/views/assets/create.haml
orange-0.3.9 lib/orange-more/assets/views/assets/create.haml
orange-0.3.8 lib/orange-more/assets/views/assets/create.haml
orange-0.3.7 lib/orange-more/assets/views/assets/create.haml
orange-0.3.6 lib/orange-more/assets/views/assets/create.haml