Sha256: 803b8b586f29acde7bd25e469f4f656146cb1bca17678cec85f9720b6adeb316

Contents?: true

Size: 477 Bytes

Versions: 3

Compression:

Stored size: 477 Bytes

Contents

.form-view
  - packet["page.title"] = "Users > Edit"
  %form{:action => "#{packet.route_to(model_name, 'new')}", :method => 'post'}
    - for prop in props
      %p= view_attribute(prop, model_name, :label => true)
    %fieldset
      %h4 Permission to Edit:
      - for site in sites
        %p
          #{site.name}
          %input{:type => 'checkbox', :name => "#{model_name}[sites][#{site.id}]", :value => site.id}
    %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/users/create.haml
orange-sparkles-0.5.8 lib/orange-sparkles/views/users/create.haml
orange-sparkles-0.5.7 lib/orange-sparkles/views/users/create.haml