af83/chouette-core

View on GitHub
app/views/footnotes/_footnote_fields.html.slim

Summary

Maintainability
Test Coverage
.nested-fields.col-lg-4.col-md-4.col-sm-6.col-xs-12
  .panel.panel-default
    .panel-body
      = f.input :code, label: Chouette::Footnote.tmf(:code)
      = f.input :label, label: Chouette::Footnote.tmf(:label)

      .text-right
        = link_to_remove_association f, class: 'btn btn-outline-danger', data: { confirm: t('footnotes.actions.destroy_confirm') }, title: t('actions.delete') do
          span.fa.fa-trash