Sha256: ddb50ea3b5af828d49f94bcf32426406f6cdc4c7bf6a22daa107248b8293b58a

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

%p= link_to raw(t('.back')),  admin_roles_path

- @role.errors.each do |f, m|
  %p= m

.form
  %h5= 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
    = f.submit t('.new')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
the_role-1.4.1 app/views/admin/roles/new.html.haml
the_role-1.4.0 app/views/admin/roles/new.html.haml