Sha256: 81ba3f9d18d03d775e801446835799576ac273a46e182e405d6f3c119cf74d63

Contents?: true

Size: 758 Bytes

Versions: 21

Compression:

Stored size: 758 Bytes

Contents

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

  .control-group
    = f.label :name, :class => 'control-label'
    .controls
      = f.text_field :name, :class => 'input-large'
  .control-group
    = f.label :description, :class => 'control-label'
    .controls
      = f.text_area :description, :rows => 2, :class => 'input-xxlarge'
  .form-actions
    = f.submit 'Save', :class => 'btn btn-primary'
    = link_to 'Cancel', cms_fortress_roles_path, :class => 'btn'

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cms-fortress-1.1.8 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.1.7 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.1.6 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.1.5 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.1.4 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.1.3 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.1.2 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.1.1 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.1.0 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.12 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.9 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.8 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.7 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.6 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.5 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.4 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.3 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.2 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.1 app/views/cms/fortress/roles/_form.html.haml
cms-fortress-1.0.0 app/views/cms/fortress/roles/_form.html.haml