- <%= link_to '<< Back', measurement_types_path, class: 'text-primary-dark hover:text-primary font-bold py-2 rounded inline-flex items-center mb-4' %>
+ <%= link_to back_span_tag, measurement_types_path, class: 'text-primary-dark hover:text-primary font-bold py-2 rounded inline-flex items-center mb-4' %>
Editing Measurement Type
<%= render 'form', measurement_type: @measurement_type %>
diff --git a/app/views/measurement_types/new.html.erb b/app/views/measurement_types/new.html.erb
index d1552cc9..a876b3a6 100644
--- a/app/views/measurement_types/new.html.erb
+++ b/app/views/measurement_types/new.html.erb
@@ -4,6 +4,6 @@
<%= render 'form', measurement_type: @measurement_type %>
- <%= link_to '<< Back', measurement_types_path, class: 'text-primary-dark hover:text-primary font-bold py-2 rounded inline-flex items-center mb-4' %>
+ <%= link_to back_span_tag, measurement_types_path, class: 'text-primary-dark hover:text-primary font-bold py-2 rounded inline-flex items-center mb-4' %>
diff --git a/app/views/measurement_types/show.html.erb b/app/views/measurement_types/show.html.erb
index fb28d2a2..d28e578f 100644
--- a/app/views/measurement_types/show.html.erb
+++ b/app/views/measurement_types/show.html.erb
@@ -4,7 +4,7 @@
<%= link_to measurement_types_path do %>
- << Back
+ <%= back_span_tag %>
<% end %>
<%= link_to edit_measurement_type_path(@measurement_type) do %>
diff --git a/app/views/measurements/edit.html.erb b/app/views/measurements/edit.html.erb
index 0e28d99f..a685acc1 100644
--- a/app/views/measurements/edit.html.erb
+++ b/app/views/measurements/edit.html.erb
@@ -2,7 +2,7 @@
<%= link_to measurements_path do %>
- << Cancel
+ <%= cancel_span_tag %>
<% end %>
Editing Measurement
@@ -11,4 +11,3 @@
-
diff --git a/app/views/measurements/show.html.erb b/app/views/measurements/show.html.erb
index ada5810f..94294bb5 100644
--- a/app/views/measurements/show.html.erb
+++ b/app/views/measurements/show.html.erb
@@ -4,7 +4,7 @@
<%= link_to measurements_path do %>
- << Back
+ <%= back_span_tag %>
<% end %>
@@ -27,6 +27,6 @@
<%= subject_name_value %>