Sha256: 585b132f080e6269c69a1d1b0b249b5312587933a37bd06d88be3b5f6be1eee3

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

- if sortable_objects
  = ff.hidden_field :position, :class => :position
  .handle  

- if subfields.is_a? Array

  = render 'edit.fields', :f => ff, :fields => subfields, :view_prefix => view_prefix

- elsif subfields.is_a? String or subfields.is_a? Symbol
  - if has_template? "_#{view_prefix}.#{field}"
    = render "#{view_prefix}.#{field}", :f => ff, :name => field
  - else
    = render 'edit.field', :f => ff, :name => field, :view_prefix => view_prefix

= render 'edit.field_type_delete_nested', :f => ff

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
releaf-0.1.2 app/views/releaf/base/_edit.fields.has_many_template.html.haml