You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
931 B
15 lines
931 B
<div class="container-fluid mt-2 p-0" id="annotationForm" |
|
data-controller="annotations" data-annotation-id="<%= @annotation.id %>" data-doctrine-id="<%= @annotation.doctrine_id %>" |
|
data-document-id="<%= @annotation.document_id %>" data-jurisprudence-id="<%= params[:jurisprudence_id] %>"> |
|
<div class="col-sm-12"> |
|
<div class="card-header" style="border-bottom: 1px solid darkred;"> <h4 class="mb-0"> Edit Annotation </h4> </div> |
|
<div class="card-body"> |
|
<%= render(AnnotationFormComponent.new(current_user: current_user, annotation: @annotation)) %> |
|
</div> |
|
<div class="card-footer d-flex justify-content-end mt-2"> |
|
<button type="button" class="btn btn-success me-2" data-action="click->annotations#save">Save</button> |
|
<a class="btn btn-danger ms-2" href="<%= document_doctrine_path(params[:jurisprudence_id], @doctrine.id) %>">Back</a> |
|
</div> |
|
</div> |
|
</div> |
|
</div>
|
|
|