Sha256: 510b72df43e5d76a4c6637c76d8385de4da493c0d61b6a7ea52a89bd3960145f

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

Stored size: 440 Bytes

Contents

= render :partial => 'sidebar'

.well
  - @role.errors.each do |field, message|
    %p
      = field
      \:
      = message

  .form
    %h3= raw t('.create')

    = form_for(@role, :url => admin_roles_path) do |f|
      %label= t('.name')
      %p= f.text_field :name

      %label= t('.title')
      %p= f.text_field :title

      %label= t('.description')
      %p= f.text_field :description

      = f.submit t('.new'), :class => :btn

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
the_role-1.6.3 app/views/admin/roles/new.html.haml
the_role-1.6.2 app/views/admin/roles/new.html.haml
the_role-1.6.1 app/views/admin/roles/new.html.haml
the_role-1.6.0 app/views/admin/roles/new.html.haml