|
|
|
|
@ -18,6 +18,18 @@
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="card-body"> |
|
|
|
|
<%= render(DocumentDoctrineShowComponent.new(current_user: current_user, doctrine: @doctrine, subjects: @subjects)) %> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="d-flex justify-content-end p-3"> |
|
|
|
|
<a class="btn btn-sm btn-primary" data-bs-toggle="modal" data-bs-target="#doctrineModal"> Add Doctrine </a> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="container-sm row-flex col-sm-12 mt-2"> |
|
|
|
|
<%= render(DoctrineModalFormComponent.new(current_user: current_user, doctrine: @document.doctrines.new, subjects: @subjects.order(name: :asc), opts: { form_url: jurisprudence_doctrines_path(jurisprudence_id: @document.id), form_method: :post })) %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
|
<%= render(DocumentDoctrineShowComponent.new(current_user: current_user, doctrine: @doctrine, subjects: @subjects)) %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|