Sha256: 754f9335021a69a7c87fc2a320ece09ffb22a339ad968aa039edcbd95d74384e

Contents?: true

Size: 299 Bytes

Versions: 3

Compression:

Stored size: 299 Bytes

Contents

.form-view
  %form{:action => "#{packet.route_to(model_name, 'new')}", :method => 'post'}
    - packet["page.title"] = "#{model_name.to_s.capitalize} > Create"
    - for prop in props
      %p= view_attribute(prop, model_name, :label => true)
    %input{:type => 'submit', :value => 'Save New Item'}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orange-sparkles-0.5.9 lib/orange-sparkles/views/default_resource/create.haml
orange-sparkles-0.5.8 lib/orange-sparkles/views/default_resource/create.haml
orange-sparkles-0.5.7 lib/orange-sparkles/views/default_resource/create.haml