Sha256: 678bf4c059746a22358f7a3f37fd74a36d8e177eeebbdf64daafef8eb6f0cc0c

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

= form_for @privilege do |f|
  - if @privilege.errors.any?
    #error_explanation
      %h2= "#{pluralize(@privilege.errors.count, "error")} prohibited this privilege from being saved:"
      %ul
        - @privilege.errors.full_messages.each do |msg|
          %li= msg

  = f.hidden_field :role_id
  .field
    = f.label :target_type
    .input
      = f.select :target_type, @target_type_list
  .field
    = f.label :action
    .input
      = f.select :action, @action_list
  .actions
    = f.submit 'Save'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 app/views/alberich/privileges/_form.html.haml