Sha256: cf85d45f8b591d9503415a9618af55f22f2141c6f581916f2bb5d0c03ba6fa4d

Contents?: true

Size: 814 Bytes

Versions: 8

Compression:

Stored size: 814 Bytes

Contents

#{
  form_for(
    @user_group, :method => :post, :action => @form_save_url, :id => :user_group_form
  ) do |f|
    f.input_hidden(:id, @user_group.id)
    f.input_hidden(:csrf_token, get_csrf_token)
  
    f.input_text(
      lang('user_groups.labels.name'), 
      :name
    )

    f.input_text(
      lang('user_groups.labels.slug'), 
      :slug
    )

    f.input_radio(
      lang('user_groups.labels.super_group'), 
      :super_group, 
      @user_group.super_group,
      :values => @boolean_hash,
    )
      
    f.textarea(
      lang('user_groups.labels.description'), 
      :description, 
      :rows => 10
    )
    
    f.g.div(:class => 'clearfix') do
      f.g.div(:class => 'button') do
        f.g.input(:type => 'submit', :value => lang('user_groups.buttons.save'))
      end
    end
  end
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
zen-0.2.7 lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml
zen-0.2.6.1 lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml
zen-0.2.6 lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml
zen-0.2.5 lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml
zen-0.2.4.1 lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml
zen-0.2.4 lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml
zen-0.2.3 lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml
zen-0.2 lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml