Sha256: d13b0012a280bcbc8dbf63b62723dd13a34940456e10de64887b04c962cdf104

Contents?: true

Size: 559 Bytes

Versions: 1

Compression:

Stored size: 559 Bytes

Contents

.nested_object
  - f.object.common_field_names.each do |common_field_name|
    - if has_template? "_edit.field.#{common_field_name}"
      = render "edit.field.#{common_field_name}", :name => common_field_name, :f => f
    - else
      = render 'edit.field', :name => common_field_name, :f => f, :view_prefix => 'edit.field.content'


  - if f.object.content
    = f.fields_for :content_object, f.object.content_object do |ff|
      = render 'edit.fields', :f => ff, :fields => content_fields_to_display(ff.object.class), :view_prefix => 'edit.field.content'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
releaf-0.1.2 app/views/releaf/content/_edit.content_fields.html.haml