- input_name = "#{type}[#{name}]"
- if value.kind_of? Array
  - input_name << '[]'
  label.control-label for=input_name = name
  .controls
    select.input.input-xxlarge name=input_name multiple=true
      - value.each do |option|
        option value=option selected=true = option
- elsif value.kind_of?(Hash)
  - value.each_pair do |name, value|
    .control-group.span8
      legend = name
      == slim :_profile_type_fields, :locals => { :type => type, :name => name, :value => value }
- elsif value.kind_of?(TrueClass) || value.kind_of?(FalseClass)
  label.checkbox
    input type='checkbox' name=input_name value='true' checked=value = name
- else
  label.control-label for=input_name = name
  .controls
    input.input.input-xxlarge type='text' name=input_name value=value

- input_name = "#{type}[#{name}]"
- if value.kind_of? Array
  - input_name << '[]'
  label.control-label for=input_name = name
  .controls
    select.input.input-xxlarge name=input_name multiple=true
      - value.each do |option|
        option value=option selected=true = option
- elsif value.kind_of?(Hash)
  - value.each_pair do |name, value|
    - next if %w( groups entities public ).include?(name.to_s)
    .control-group.span8
      legend = name
      == slim :_profile_type_fields, :locals => { :type => type, :name => name, :value => value }
- elsif value.kind_of?(TrueClass) || value.kind_of?(FalseClass)
- else
  label.control-label for=input_name = name
  .controls
    input.input.input-xxlarge type='text' name=input_name value=value

Remove fields from update profile (public entities groups)
Remove fields from update profile (public entities groups)

tent/tentd-admin,tent/tentd-admin