diff --git a/app/javascript/controllers/doctrines_controller.js b/app/javascript/controllers/doctrines_controller.js
index 65e287c..dc919c0 100644
--- a/app/javascript/controllers/doctrines_controller.js
+++ b/app/javascript/controllers/doctrines_controller.js
@@ -90,7 +90,7 @@ export default class extends ApplicationController {
$.post("/api/doctrines", $.extend({ jurisprudence_ids: [document_id] }, params), function(doctrine, status) {
if(status === 'success') {
$('.toast').addClass('bg-success').show();
- $( ".toast-body" ).html( "
Doctrine was successfully save" );
+ $( ".toast-body" ).html( "
Doctrine was successfully saved" );
$('.toast').fadeOut(5000);
if (annotations_attributes.length > 0) {
@@ -98,7 +98,7 @@ export default class extends ApplicationController {
$.post("/api/doctrines/" + doctrine.id + "/annotations", annotation, function(result, status) {
if(status === 'success') {
$('.toast').addClass('bg-success').show();
- $( ".toast-body" ).html( "
Case Lists was successfully save" );
+ $( ".toast-body" ).html( "
Case Lists was successfully saved" );
$('.toast').fadeOut(5000);
if (index === annotations_attributes.length - 1) {
diff --git a/app/javascript/src/application.scss b/app/javascript/src/application.scss
index ab6be17..6dc65c7 100644
--- a/app/javascript/src/application.scss
+++ b/app/javascript/src/application.scss
@@ -125,3 +125,29 @@
.not-full input {
width: auto !important;
}
+
+// Footnotes
+.footnote-x a {
+ font-size:12px; vertical-align: 20%;
+ color: red;
+ font-weight: bold;
+ text-decoration: none;
+}
+
+.footnote-x a.tip span{
+ display: none
+}
+
+.footnote-x a.tip:hover span{
+ border: #c0c0c0 1px dotted;
+ padding: 5px 20px 5px 5px;
+ display: block;
+ z-index: 100;
+ background-color: #87cefa;
+ left: 0px;
+ margin: 10px;
+ width: 250px;
+ position: absolute;
+ top: 10px;
+ text-decoration: none
+}
diff --git a/app/views/shared/_annotation_form.html.erb b/app/views/shared/_annotation_form.html.erb
index e094101..6ff79e6 100644
--- a/app/views/shared/_annotation_form.html.erb
+++ b/app/views/shared/_annotation_form.html.erb
@@ -52,8 +52,8 @@
- <%= label_tag :editor_notes %>
- <%= rich_text_area_tag :editor_notes, nil, placeholder: "Editor Notes" %>
+ <%= label_tag "Editor's Note" %>
+ <%= rich_text_area_tag :editor_notes, nil, placeholder: "Editor's Note" %>
diff --git a/app/views/shared/_annotations_index_view.html.erb b/app/views/shared/_annotations_index_view.html.erb
index 914824d..ddb8c32 100644
--- a/app/views/shared/_annotations_index_view.html.erb
+++ b/app/views/shared/_annotations_index_view.html.erb
@@ -30,7 +30,7 @@
<% if annotation.editor_notes.present? %>
- Editors Note:
+ Editor's Note:
diff --git a/app/views/shared/_doctrine_form_annotation_modal_form.html.erb b/app/views/shared/_doctrine_form_annotation_modal_form.html.erb
index a247c7d..110ee96 100644
--- a/app/views/shared/_doctrine_form_annotation_modal_form.html.erb
+++ b/app/views/shared/_doctrine_form_annotation_modal_form.html.erb
@@ -56,8 +56,8 @@
- <%= label_tag :editor_notes %>
- <%= rich_text_area_tag :editor_notes, nil, placeholder: "Editor Notes" %>
+ <%= label_tag "Editor's Note" %>
+ <%= rich_text_area_tag :editor_notes, nil, placeholder: "Editor's Note" %>
diff --git a/app/views/shared/_doctrine_form_annotations_view.html.erb b/app/views/shared/_doctrine_form_annotations_view.html.erb
index fd76f33..156a64c 100644
--- a/app/views/shared/_doctrine_form_annotations_view.html.erb
+++ b/app/views/shared/_doctrine_form_annotations_view.html.erb
@@ -26,7 +26,7 @@
<% if annotation[:editor_notes].present? %>
- Editors Note:
+ Editor's Note: