Browse Source

Merge pull request #25 from lexintegritastech/improve-main-ui

Fix `document_doctrines#show`
pull/26/head
Alexander D. Bondoc 4 years ago committed by GitHub
parent
commit
93e6fcbd4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/document/doctrines/show.html.erb

2
app/views/document/doctrines/show.html.erb

@ -24,7 +24,7 @@
</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 })) %>
<%= render(DoctrineModalFormComponent.new(current_user: current_user, doctrine: @document.doctrines.new, subjects: Cdao::Subject.all.order(name: :asc), opts: { form_url: jurisprudence_doctrines_path(jurisprudence_id: @document.id), form_method: :post })) %>
</div>
</div>

Loading…
Cancel
Save