Sha256: b7cf624258f9458689595a10558c212457dd01af20bf3e3ea5d3a0697cf0a356

Contents?: true

Size: 416 Bytes

Versions: 30

Compression:

Stored size: 416 Bytes

Contents

- administrador_helper(self).filter_attributes_for_form(resource_class.attribute_names).each do |name|
  - if form.object.class.columns_hash[name].try(:type) == :hstore
    = simple_fields_for name do |hstore_form|
      - if form.object.send(name).respond_to?(:each)
        - form.object.send(name).each do |key, value|
          = hstore_form.input key, input_html: { value: value }
  - else
    = form.input name

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
administrador-0.0.10.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.9.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.8.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.7.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.6.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.5.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.4.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.3.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.2.pre app/views/administrador/resource_controller/base/_form.html.haml
administrador-0.0.1.pre app/views/administrador/resource_controller/base/_form.html.haml