Sha256: 52dadd4d54950c80731625ff4db4681725d0585fa73a820b9a4519e92bb931b4

Contents?: true

Size: 526 Bytes

Versions: 4

Compression:

Stored size: 526 Bytes

Contents

.page-header
  %h2= t('.new-role')

= form_for @role, url: admin_roles_path do |f|
  .row
    = f.text_field :name, placeholder: t('.role_name')
  .row
    = f.text_field :color

  .row
    admin access
    .btn-group{ 'data-toggle' => "buttons" }
      =f.label :admin_access, class: 'btn btn-success btn-sm active' do
        = f.radio_button :admin_access, true
        yes
      =f.label :admin_access, class: 'btn btn-danger btn-sm' do
        = f.radio_button :admin_access, false
         no 



  = f.submit

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta4 app/views/my_forum/admin/roles/new.haml
my_forum-0.0.1.beta3 app/views/my_forum/admin/roles/new.haml
my_forum-0.0.1.beta2 app/views/my_forum/admin/roles/new.haml
my_forum-0.0.1.beta1 app/views/my_forum/admin/roles/new.haml