Sha256: 0637a874cbe30ef988e5bcbaeb9067d4bf1a0d0c47bd4904f65bed936defecb8

Contents?: true

Size: 524 Bytes

Versions: 2

Compression:

Stored size: 524 Bytes

Contents

.field-set{ "data-index" => index }
  = hidden_field_tag "#{prefix}[type]", field_set.type.demodulize, :id => nil
  
  .drag

  .drag-area
    = label_tag "fieldset_#{index}_legend", "Fieldset Legend:"
    = text_field_tag "#{prefix}[legend]", field_set.legend, :id => "fieldset_#{index}_legend"
  
    %span.note (leave blank for none)

  .fields{ "data-prefix" => "form[fields][#{index}][fields]" }
    = render_fields(field_set.fields, "form[fields][#{index}][fields]")
  
  = link_to "Delete", '#', :class => 'delete'
  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wheelhouse-forms-1.1 app/views/forms/forms/_field_set.haml
wheelhouse-forms-1.0 app/views/forms/forms/_field_set.haml