Sha256: a9c12b58dbd67a7928da34d5f7fb4b750903872620975a34e0fc0a3e26cc9624

Contents?: true

Size: 1008 Bytes

Versions: 27

Compression:

Stored size: 1008 Bytes

Contents

= form_for @access_control_entry, :remote=>true do |f|
  -if @access_control_entry.errors.any?
    #errorExplanation
      %h2= "#{pluralize(@access_control_entry.errors.count, "error")} prohibited this access_control_entry from being saved:"
      %ul
        - @access_control_entry.errors.full_messages.each do |msg|
          %li= msg
    = hidden_field_tag :container, "ace_listing"
    = hidden_field_tag :ajax_function, "append"
  %ul.ace_form_fields
    %li
      .name Email
      = f.text_field :user_email, :class=>"email"
    %li
      .name Role
      = f.select :role, Role.collection_entries
    %li
      .name Can?
      = f.check_box :can
    %li
      .name verb
      = f.text_field :verb, :class=>"verb"
    %li
      .name Resource
      = f.select :resource_class_name, [["Forum", "Forum"], ["Page", "Page"]]
      = f.hidden_field :resource_id
    %li
      .name options
      = f.text_field :options_str, :class=>"verb"

    %li
      = f.submit 'Save', :disable_with=>"Saving..."

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
wheels-0.0.48 app/views/access_control_entries/_form.html.haml
wheels-0.0.47 app/views/access_control_entries/_form.html.haml
wheels-0.0.46 app/views/access_control_entries/_form.html.haml
wheels-0.0.45 app/views/access_control_entries/_form.html.haml
wheels-0.0.44 app/views/access_control_entries/_form.html.haml
wheels-0.0.43 app/views/access_control_entries/_form.html.haml
wheels-0.0.42 app/views/access_control_entries/_form.html.haml
wheels-0.0.41 app/views/access_control_entries/_form.html.haml
wheels-0.0.40 app/views/access_control_entries/_form.html.haml
wheels-0.0.39 app/views/access_control_entries/_form.html.haml
wheels-0.0.38 app/views/access_control_entries/_form.html.haml
wheels-0.0.37 app/views/access_control_entries/_form.html.haml
wheels-0.0.36 app/views/access_control_entries/_form.html.haml
wheels-0.0.35 app/views/access_control_entries/_form.html.haml
wheels-0.0.34 app/views/access_control_entries/_form.html.haml
wheels-0.0.33 app/views/access_control_entries/_form.html.haml
wheels-0.0.32 app/views/access_control_entries/_form.html.haml
wheels-0.0.31 app/views/access_control_entries/_form.html.haml
wheels-0.0.30 app/views/access_control_entries/_form.html.haml
wheels-0.0.29 app/views/access_control_entries/_form.html.haml