
.form-element.form-group.clearfix
  - case element.data_type
  - when 'text'
    input.form-control placeholder=element.label
    .control-bar
      = link_to edit_form_form_element_path(form, element), remote: true do
        small
          span.glyphicon.glyphicon-edit
      = link_to form_form_element_path(form, element),
        { method: :delete,
          remote: true,
          data: { confirm: t('common.confirm') } } do
        small
          span.glyphicon.glyphicon-remove


  - when 'checkbox'
    = check_box_tag element.name
    '&nbsp;
    = element.label




.form-element.form-group.clearfix
  - case element.data_type
  - when 'text'
    input.form-control placeholder=element.label

  - when 'checkbox'
    = check_box_tag element.name
    '&nbsp;
    = element.label

  .control-bar
    = link_to form_form_element_path(form, element),
      { method: :delete,
        remote: true,
        data: { confirm: t('common.confirm') } } do
      small
        span.glyphicon.glyphicon-remove

Add remove link for all form elements
Add remove link for all form elements

SumOfUs/Champaign,SumOfUs/Champaign,SumOfUs/Champaign,SumOfUs/Champaign,SumOfUs/Champaign