anthonymidili/Bullhorn

View on GitHub
app/views/websites/_website_fields.html.haml

Summary

Maintainability
Test Coverage
.nested-fields.callout
  .row
    .col-12.col-md-3
      = f.label :name, class: "form-label"
      = f.text_field :name, class: "form-control"
    .col-12.col-md-6
      = f.label :address, class: "form-label"
      = f.url_field :address, class: "form-control"
    .col-12.col-md-3
      .float-end.remove_link
        = link_to_remove_association 'Remove website', f,
        class: 'btn btn-danger btn-sm'