.container.py-5 .d-flex.justify-content-between.align-items-center.mb-5 div h1.fw-bold.text-dark.mb-1 Feature AI Configuration p.text-muted.mb-0 Map application features to specific LLM models. = link_to new_feature_model_map_path, class: "btn btn-primary shadow-sm modal-trigger", data: { turbo_frame: "modal_frame" } do i.bi.bi-plus-lg.me-2 | Add Feature .card.border-0.shadow-sm.overflow-hidden .table-responsive table.table.table-hover.align-middle.mb-0 thead.bg-light tr th.ps-4.py-3.text-uppercase.text-primary.fs-7.fw-bold Feature Name th.py-3.text-uppercase.text-primary.fs-7.fw-bold Assigned Model th.py-3.text-uppercase.text-primary.fs-7.fw-bold Provider th.pe-4.text-end.py-3.text-primary.fs-7.fw-bold Actions tbody - if @feature_model_maps.empty? tr td.text-center.py-5 colspan="4" .text-muted i.bi.bi-diagram-2.fs-1.d-block.mb-3 | No mappings found. - @feature_model_maps.each do |map| tr td.ps-4.py-3 span.fw-bold.text-dark = map.feature_name td.py-3 span.badge.bg-light.text-dark.border i.bi.bi-cpu.me-1 = map.llm_model_name td.py-3 - provider = map.provider.nil? ? "Provider not found" : map.provider span.badge class="bg-info-subtle text-info" = provider td.pe-4.text-end.py-3 .btn-group = link_to edit_feature_model_map_path(map), class: "btn btn-sm btn-light text-primary modal-trigger", title: "Edit", data: { turbo_frame: "modal_frame" } do i.bi.bi-pencil = button_to feature_model_map_path(map), method: :delete, form: {style: 'display:inline-block;'}, class: "btn btn-sm btn-light text-danger ms-1", title: "Delete", data: { turbo_confirm: "Are you sure?" } do i.bi.bi-trash