renalware-core 2.0.147 → 2.0.148

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/renalware/components/ajax_errors.js +3 -2
  3. data/app/assets/javascripts/renalware/components/dialogs.js.erb +2 -2
  4. data/app/assets/javascripts/renalware/components/session_timeout_redirect.js.erb +10 -7
  5. data/app/assets/javascripts/renalware/rollup_compiled.js +39 -7
  6. data/app/assets/stylesheets/renalware/modules/_surveys.scss +5 -0
  7. data/app/models/renalware/patients/clear_patient_ukrdc_data.rb +6 -1
  8. data/app/models/renalware/surveys/pos_s_summary_part.rb +2 -2
  9. data/app/models/renalware/surveys/question.rb +4 -0
  10. data/app/views/renalware/admin/users/edit.html.slim +1 -1
  11. data/app/views/renalware/admissions/admissions/_filters.html.slim +1 -1
  12. data/app/views/renalware/admissions/admissions/_form.html.slim +1 -1
  13. data/app/views/renalware/admissions/consults/_filters.html.slim +1 -1
  14. data/app/views/renalware/admissions/requests/_form.html.slim +1 -1
  15. data/app/views/renalware/clinical/allergies/_new.html.slim +1 -1
  16. data/app/views/renalware/clinical/body_compositions/_form.html.slim +1 -1
  17. data/app/views/renalware/clinical/dry_weights/_form.html.slim +1 -1
  18. data/app/views/renalware/clinical/profiles/edit.html.slim +1 -1
  19. data/app/views/renalware/clinics/clinic_visits/new.html.slim +1 -1
  20. data/app/views/renalware/clinics/visits/_filters.html.slim +1 -1
  21. data/app/views/renalware/deaths/edit.html.slim +1 -1
  22. data/app/views/renalware/directory/people/_filters.html.slim +1 -1
  23. data/app/views/renalware/directory/people/_form.html.slim +1 -1
  24. data/app/views/renalware/drugs/drugs/_filters.html.slim +1 -1
  25. data/app/views/renalware/drugs/drugs/_form.html.slim +1 -1
  26. data/app/views/renalware/events/events/_filters.html.slim +1 -1
  27. data/app/views/renalware/events/events/_form.html.slim +1 -1
  28. data/app/views/renalware/events/lists/_filters.html.slim +1 -1
  29. data/app/views/renalware/events/types/_form.html.slim +1 -1
  30. data/app/views/renalware/hd/cannulation_types/_form.html.slim +1 -1
  31. data/app/views/renalware/hd/current_profile/_form.html.slim +2 -2
  32. data/app/views/renalware/hd/dialysates/_form.html.slim +1 -1
  33. data/app/views/renalware/hd/dialysers/_form.html.slim +1 -1
  34. data/app/views/renalware/hd/mdm_patients/_filters.html.slim +1 -1
  35. data/app/views/renalware/hd/ongoing_sessions/_filters.html.slim +1 -1
  36. data/app/views/renalware/hd/preference_sets/_form.html.slim +1 -1
  37. data/app/views/renalware/hd/prescription_administrations/_form.html.slim +1 -1
  38. data/app/views/renalware/hd/sessions/_form_actions.html.slim +1 -1
  39. data/app/views/renalware/hd/stations/_form.html.slim +1 -1
  40. data/app/views/renalware/hd/unmet_preferences/_filters.html.slim +1 -1
  41. data/app/views/renalware/hd/witnesses/_form.html.slim +1 -1
  42. data/app/views/renalware/hospitals/units/_form.html.slim +1 -1
  43. data/app/views/renalware/letters/contacts/_edit.html.slim +1 -1
  44. data/app/views/renalware/letters/contacts/_new_person.html.slim +1 -1
  45. data/app/views/renalware/letters/contacts/_person_from_directory.html.slim +1 -1
  46. data/app/views/renalware/letters/letters/_form.html.slim +2 -2
  47. data/app/views/renalware/letters/lists/show.html.slim +1 -1
  48. data/app/views/renalware/low_clearance/profiles/edit.html.slim +1 -1
  49. data/app/views/renalware/medications/prescriptions/_form.html.slim +1 -1
  50. data/app/views/renalware/medications/terminations/_form.html.slim +1 -1
  51. data/app/views/renalware/messaging/internal/messages/_form.html.slim +1 -1
  52. data/app/views/renalware/modalities/descriptions/_form.html.slim +1 -1
  53. data/app/views/renalware/modalities/modalities/new.html.slim +1 -1
  54. data/app/views/renalware/pathology/observation_requests/_filters.html.slim +1 -1
  55. data/app/views/renalware/pathology/patient_rules/_form.html.slim +1 -1
  56. data/app/views/renalware/pathology/requests/requests/index.html.slim +1 -1
  57. data/app/views/renalware/patients/alerts/_form.html.slim +1 -1
  58. data/app/views/renalware/patients/bookmarks/_new.html.slim +1 -1
  59. data/app/views/renalware/patients/primary_care_physicians/_form.html.slim +1 -1
  60. data/app/views/renalware/patients/worries/_new.html.slim +1 -1
  61. data/app/views/renalware/patients/worryboard/_filters.html.slim +1 -1
  62. data/app/views/renalware/pd/assessments/_form.html.slim +1 -1
  63. data/app/views/renalware/pd/bag_types/_form.html.slim +1 -1
  64. data/app/views/renalware/pd/exit_site_infections/_form.html.slim +1 -1
  65. data/app/views/renalware/pd/exit_site_infections/edit.html.slim +1 -1
  66. data/app/views/renalware/pd/exit_site_infections/new.html.slim +1 -1
  67. data/app/views/renalware/pd/infection_organisms/_form.html.slim +1 -1
  68. data/app/views/renalware/pd/peritonitis_episodes/_form.html.slim +1 -1
  69. data/app/views/renalware/pd/peritonitis_episodes/edit.html.slim +1 -1
  70. data/app/views/renalware/pd/peritonitis_episodes/new.html.slim +1 -1
  71. data/app/views/renalware/pd/pet_adequacy_results/_form.html.slim +1 -1
  72. data/app/views/renalware/pd/regimes/edit.html.slim +1 -1
  73. data/app/views/renalware/pd/regimes/new.html.slim +1 -1
  74. data/app/views/renalware/pd/training_sessions/_form.html.slim +1 -1
  75. data/app/views/renalware/problems/notes/_form.html.slim +1 -1
  76. data/app/views/renalware/problems/problems/edit.html.slim +1 -1
  77. data/app/views/renalware/problems/problems/new.html.slim +1 -1
  78. data/app/views/renalware/renal/aki_alerts/_filters.html.slim +1 -1
  79. data/app/views/renalware/renal/aki_alerts/edit.html.slim +1 -1
  80. data/app/views/renalware/renal/profiles/edit.html.slim +2 -2
  81. data/app/views/renalware/renal/registry_preflight_checks/_filters.html.slim +1 -1
  82. data/app/views/renalware/research/studies/_filters.html.slim +1 -1
  83. data/app/views/renalware/research/study_participants/_filters.html.slim +1 -1
  84. data/app/views/renalware/surveys/_pos_s_summary_part.html.slim +2 -0
  85. data/app/views/renalware/system/downloads/index.html.slim +1 -1
  86. data/app/views/renalware/transplants/donations/_form.html.slim +2 -2
  87. data/app/views/renalware/transplants/donor_followups/_form.html.slim +2 -2
  88. data/app/views/renalware/transplants/donor_operations/_form.html.slim +2 -2
  89. data/app/views/renalware/transplants/donor_stages/new.html.slim +1 -1
  90. data/app/views/renalware/transplants/donor_workups/_form.html.slim +2 -2
  91. data/app/views/renalware/transplants/recipient_followups/_form.html.slim +2 -2
  92. data/app/views/renalware/transplants/recipient_operations/_form.html.slim +2 -2
  93. data/app/views/renalware/transplants/recipient_workups/_form.html.slim +2 -2
  94. data/app/views/renalware/transplants/registration_statuses/_form.html.slim +1 -1
  95. data/app/views/renalware/transplants/registrations/_form.html.slim +2 -2
  96. data/app/views/renalware/virology/profiles/edit.html.slim +1 -1
  97. data/db/migrate/20200401115705_add_label_abbrv_to_survey_questions.rb +12 -0
  98. data/lib/renalware/version.rb +1 -1
  99. data/vendor/assets/javascripts/renalware/highcharts.js +0 -1
  100. data/vendor/assets/javascripts/renalware/highcharts.js.map +1 -0
  101. metadata +6 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0a85e291938153f0f3d994195230457b6550239d0e8dde9e7d4a0b8a72f7819
4
- data.tar.gz: 34d8b8b3b54731448ec32c05c136e3f371e4725a5a7efc2f7946264d041153d0
3
+ metadata.gz: cc532fe594f3e9543c134b831af132696f44881c88673d0aacbaaa78a3f9022e
4
+ data.tar.gz: d15adf0bcb79edb855647ba4e73e1a7785cd0771b438348d6a1ff66032158b5c
5
5
  SHA512:
6
- metadata.gz: 2da7dbc33f709e9effcb837f78c0678bbe375d977e8c276aa70dbcb2f94366f5df7c518f554ccd9f8611a3b801a2e74c4a11ffb21a08356d6fcd77e15b0015ed
7
- data.tar.gz: a1d6d42f2adf772b8201e982fd8cb850403ce6cd70c87820b96a581356f7dab2efdc826db6bc96ba628b8ae44a39790c236f725bfee3a68170cc75ca91941bd4
6
+ metadata.gz: 7c4cdc7709741aa5c19405fea7e84b96b6c11b11f0f569dc254ec11c9e1cd2a0e48d99a6dfb736040f8a60d0c1f494dbd40cddf1d823c0aa858ecd9ff37b50b1
7
+ data.tar.gz: aac97b39b0b13eb5a2d52bf80f3e22666fc325affc4f6fd5ea1b3cce0fdd43cb75604fb5521fe1162f2d867a8afe448ed92d4c8474dca13b00fc6a767ec82bd6
@@ -1,4 +1,5 @@
1
- $(document).ajaxError(function (e, xhr, settings) {
1
+ $(document).on("ajax:error", function(event) {
2
+ var xhr = event.detail[2];
2
3
  switch(xhr.status) {
3
4
  // For 401 Unathorised responses, for example trying to making a
4
5
  // js request after a session timeout, reloading the current page
@@ -7,6 +8,6 @@ $(document).ajaxError(function (e, xhr, settings) {
7
8
  location.reload();
8
9
  break;
9
10
  case 500:
10
- alert("Your request has unexpectedly failed (" + xhr.statusText + "). Please try again.");
11
+ alert("Your request has unexpectedly failed (" + xhr.statusText + "). Please try again.");
11
12
  }
12
13
  });
@@ -28,6 +28,6 @@ $(document).on('opened.fndtn.reveal', '[data-reveal]', function () {
28
28
  });
29
29
 
30
30
  // If there was an error submitting a modal form, be sure to re-enable the submit button
31
- $(document).on('ajaxError', function(event, xhr, status, error) {
32
- Rails.enableElement($('input[data-disable-with]'))[0];
31
+ $(document).on('ajax:error', function(event) {
32
+ Rails.enableElement($('input[data-disable-with]')[0]);
33
33
  });
@@ -7,7 +7,6 @@
7
7
  // would prevent a dyno sleeping, but its also a waste of resources.
8
8
  //
9
9
  $(document).ready(function() {
10
-
11
10
  var login_path ="<%= Renalware::Engine.routes.url_helpers.new_user_session_path %>";
12
11
  var defaultPollFreq = <%= Renalware.config.session_timeout_polling_frequency.to_i %>;
13
12
  var frequency_s = defaultPollFreq;
@@ -16,12 +15,16 @@ $(document).ready(function() {
16
15
  // bypass having to wait for the session polling interval to tick over.
17
16
  window.sessionTimeoutCheck = function(){
18
17
  if(window.location.pathname != login_path) {
19
- $.getScript("<%= Renalware::Engine.routes.url_helpers.session_timed_out_path %>")
20
- .fail(function(jqxhr, settings, exception) {
21
- <% unless Rails.env.test? %>
22
- console.log("Failed to query for session timeout");
23
- <% end %>
24
- });
18
+ Rails.ajax({
19
+ type: "GET",
20
+ url: "<%= Renalware::Engine.routes.url_helpers.session_timed_out_path %>",
21
+ dataType: "html",
22
+ error: function(responseText, status, xhr) {
23
+ if (xhr.status == 401) {
24
+ window.location.reload()
25
+ }
26
+ }
27
+ });
25
28
  }
26
29
  };
27
30
 
@@ -3768,6 +3768,18 @@ function _setPrototypeOf(o, p) {
3768
3768
  return _setPrototypeOf(o, p);
3769
3769
  }
3770
3770
 
3771
+ function _isNativeReflectConstruct() {
3772
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
3773
+ if (Reflect.construct.sham) return false;
3774
+ if (typeof Proxy === "function") return true;
3775
+ try {
3776
+ Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
3777
+ return true;
3778
+ } catch (e) {
3779
+ return false;
3780
+ }
3781
+ }
3782
+
3771
3783
  function _assertThisInitialized(self) {
3772
3784
  if (self === void 0) {
3773
3785
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -3782,13 +3794,27 @@ function _possibleConstructorReturn(self, call) {
3782
3794
  return _assertThisInitialized(self);
3783
3795
  }
3784
3796
 
3797
+ function _createSuper(Derived) {
3798
+ return function() {
3799
+ var Super = _getPrototypeOf(Derived), result;
3800
+ if (_isNativeReflectConstruct()) {
3801
+ var NewTarget = _getPrototypeOf(this).constructor;
3802
+ result = Reflect.construct(Super, arguments, NewTarget);
3803
+ } else {
3804
+ result = Super.apply(this, arguments);
3805
+ }
3806
+ return _possibleConstructorReturn(this, result);
3807
+ };
3808
+ }
3809
+
3785
3810
  var $ = window.$;
3786
3811
 
3787
3812
  var _default = function(_Controller) {
3788
3813
  _inherits(_default, _Controller);
3814
+ var _super = _createSuper(_default);
3789
3815
  function _default() {
3790
3816
  _classCallCheck(this, _default);
3791
- return _possibleConstructorReturn(this, _getPrototypeOf(_default).apply(this, arguments));
3817
+ return _super.apply(this, arguments);
3792
3818
  }
3793
3819
  _createClass(_default, [ {
3794
3820
  key: "row",
@@ -3820,9 +3846,10 @@ var $$1 = window.$;
3820
3846
 
3821
3847
  var _default$1 = function(_Controller) {
3822
3848
  _inherits(_default, _Controller);
3849
+ var _super = _createSuper(_default);
3823
3850
  function _default() {
3824
3851
  _classCallCheck(this, _default);
3825
- return _possibleConstructorReturn(this, _getPrototypeOf(_default).apply(this, arguments));
3852
+ return _super.apply(this, arguments);
3826
3853
  }
3827
3854
  _createClass(_default, [ {
3828
3855
  key: "connect",
@@ -3851,9 +3878,10 @@ var Rails = window.Rails;
3851
3878
 
3852
3879
  var _default$2 = function(_Controller) {
3853
3880
  _inherits(_default, _Controller);
3881
+ var _super = _createSuper(_default);
3854
3882
  function _default() {
3855
3883
  _classCallCheck(this, _default);
3856
- return _possibleConstructorReturn(this, _getPrototypeOf(_default).apply(this, arguments));
3884
+ return _super.apply(this, arguments);
3857
3885
  }
3858
3886
  _createClass(_default, [ {
3859
3887
  key: "refreshForm",
@@ -3876,9 +3904,10 @@ var $$2 = window.$;
3876
3904
 
3877
3905
  var _default$3 = function(_Controller) {
3878
3906
  _inherits(_default, _Controller);
3907
+ var _super = _createSuper(_default);
3879
3908
  function _default() {
3880
3909
  _classCallCheck(this, _default);
3881
- return _possibleConstructorReturn(this, _getPrototypeOf(_default).apply(this, arguments));
3910
+ return _super.apply(this, arguments);
3882
3911
  }
3883
3912
  _createClass(_default, [ {
3884
3913
  key: "insert",
@@ -3897,9 +3926,10 @@ var $$3 = window.$;
3897
3926
 
3898
3927
  var _default$4 = function(_Controller) {
3899
3928
  _inherits(_default, _Controller);
3929
+ var _super = _createSuper(_default);
3900
3930
  function _default() {
3901
3931
  _classCallCheck(this, _default);
3902
- return _possibleConstructorReturn(this, _getPrototypeOf(_default).apply(this, arguments));
3932
+ return _super.apply(this, arguments);
3903
3933
  }
3904
3934
  _createClass(_default, [ {
3905
3935
  key: "initInsertEventNotesIntoTrixEditor",
@@ -3925,9 +3955,10 @@ _defineProperty(_default$4, "targets", [ "trix" ]);
3925
3955
 
3926
3956
  var _default$5 = function(_Controller) {
3927
3957
  _inherits(_default, _Controller);
3958
+ var _super = _createSuper(_default);
3928
3959
  function _default() {
3929
3960
  _classCallCheck(this, _default);
3930
- return _possibleConstructorReturn(this, _getPrototypeOf(_default).apply(this, arguments));
3961
+ return _super.apply(this, arguments);
3931
3962
  }
3932
3963
  _createClass(_default, [ {
3933
3964
  key: "connect",
@@ -3959,9 +3990,10 @@ var Chartkick = window.Chartkick;
3959
3990
 
3960
3991
  var _default$6 = function(_Controller) {
3961
3992
  _inherits(_default, _Controller);
3993
+ var _super = _createSuper(_default);
3962
3994
  function _default() {
3963
3995
  _classCallCheck(this, _default);
3964
- return _possibleConstructorReturn(this, _getPrototypeOf(_default).apply(this, arguments));
3996
+ return _super.apply(this, arguments);
3965
3997
  }
3966
3998
  _createClass(_default, [ {
3967
3999
  key: "redisplay",
@@ -29,22 +29,27 @@ dl.pos-s-key {
29
29
 
30
30
  .pos-s--0 {
31
31
  background-color: $survey-0;
32
+ border: solid 1px #CCC;
32
33
  }
33
34
 
34
35
  .pos-s--1 {
35
36
  background-color: $survey-1;
37
+ border: solid 1px #CCC;
36
38
  }
37
39
 
38
40
  .pos-s--2 {
39
41
  background-color: $survey-2;
42
+ border: solid 1px #CCC;
40
43
  }
41
44
 
42
45
  .pos-s--3 {
43
46
  background-color: $survey-3;
47
+ border: solid 1px #CCC;
44
48
  }
45
49
 
46
50
  .pos-s--4 {
47
51
  background-color: $survey-4;
52
+ border: solid 1px #CCC;
48
53
  }
49
54
 
50
55
  .summary-part--pos_s table {
@@ -12,12 +12,17 @@ module Renalware
12
12
  new(**args).call
13
13
  end
14
14
 
15
+ # Note that we want to avoid any patient validation errors (email is invalid etc)
16
+ # at this important stage, so we use validate: false. While we validate patient data
17
+ # entered thorugh the UI, its possible that some migrated data might be invalid
18
+ # and would cause an error to be raised during a callback in save!
15
19
  def call
16
20
  patient.send_to_rpv = false
17
21
  patient.rpv_decision_on = Time.zone.today
18
22
  patient.rpv_recorded_by = by.to_s
19
23
  patient.skip_death_validations = true
20
- patient.save_by!(by)
24
+ patient.by = by
25
+ patient.save!(validate: false)
21
26
  end
22
27
  end
23
28
  end
@@ -15,8 +15,8 @@ module Renalware
15
15
  survey
16
16
  .questions
17
17
  .order(:position)
18
- .select(:code, :label)
19
- .each_with_object({}) { |q, hash| hash[q.code] = q.label }
18
+ .select(:code, :label, :label_abbrv)
19
+ .each_with_object({}) { |q, hash| hash[q.code] = q.admin_label }
20
20
  end
21
21
  end
22
22
 
@@ -17,6 +17,10 @@ module Renalware
17
17
  validates :code, presence: true, uniqueness: { scope: :survey_id }
18
18
  validates :label, presence: true
19
19
  validates :position, presence: true
20
+
21
+ def admin_label
22
+ label_abbrv.presence || label
23
+ end
20
24
  end
21
25
  end
22
26
  end
@@ -54,5 +54,5 @@
54
54
  wrapper: :horizontal_small
55
55
  - msg = user.approved? ? "Update" : "Approve"
56
56
  = f.submit msg, class: "button"
57
- span= " or "
57
+ ' or
58
58
  = link_to "cancel", admin_users_path
@@ -19,5 +19,5 @@
19
19
  include_blank: "Any"
20
20
  .columns.medium-2.large-2.actions.end
21
21
  = f.submit "Filter", class: "button"
22
- span= " or "
22
+ ' or
23
23
  = link_to t("helpers.reset"), admissions_admissions_path
@@ -45,5 +45,5 @@
45
45
  = f.input :discharge_summary, as: :trix_editor, class: "discharge-summary", wrapper: :zilch
46
46
 
47
47
  = f.submit class: :button
48
- span= " or "
48
+ ' or
49
49
  = link_to "Cancel", admissions_admissions_path
@@ -37,5 +37,5 @@
37
37
  label: "Modality"
38
38
  .columns.medium-2.large-2.actions.end
39
39
  = f.submit "Filter", class: "button"
40
- span= " or "
40
+ ' or
41
41
  = link_to t("helpers.reset"), admissions_consults_path(reset: 1)
@@ -22,7 +22,7 @@
22
22
  = f.input :hospital_unit_id, collection: hospital_units, wrapper: :horizontal_medium
23
23
  = f.input :notes, as: :text, wrapper: :horizontal_large, input_html: { rows: 5 }
24
24
  = f.submit class: :button
25
- span= " or "
25
+ ' or
26
26
  = link_to "Cancel",
27
27
  "#",
28
28
  "aria-label" => "Close",
@@ -7,7 +7,7 @@
7
7
  h2= t(".title")
8
8
  = f.input :description, as: :text, autofocus: true
9
9
  = f.submit t(".save"), class: :button, data: { disable_with: t(".save_disable_with") }
10
- span= " or "
10
+ ' or
11
11
  = link_to t(".cancel"),
12
12
  "#",
13
13
  "aria-label" => "Close",
@@ -44,5 +44,5 @@
44
44
  .row
45
45
  .large-12.columns
46
46
  = f.button :submit
47
- span= " or "
47
+ ' or
48
48
  = link_to "cancel", patient_clinical_profile_path(patient)
@@ -14,5 +14,5 @@
14
14
  .row
15
15
  .large-12.columns
16
16
  = f.button :submit
17
- span= " or "
17
+ ' or
18
18
  = link_to "cancel", return_url
@@ -36,5 +36,5 @@
36
36
 
37
37
  .columns.large-12.form-actions
38
38
  = submit_tag "Update", class: "button"
39
- span= " or "
39
+ ' or
40
40
  = link_to "Cancel", patient_clinical_profile_path(patient)
@@ -15,5 +15,5 @@
15
15
  = render "form", f: f
16
16
 
17
17
  = f.submit "Save", class: "button"
18
- span= " or "
18
+ ' or
19
19
  = link_to "cancel", patient_clinic_visits_path(patient)
@@ -15,7 +15,7 @@
15
15
  = f.input :created_by_id_eq, as: :user_picker, collection: users, label: "Clinician"
16
16
  .medium-2.large-3.columns.actions.end
17
17
  = f.submit "Filter", class: "button"
18
- span= " or "
18
+ ' or
19
19
  = link_to t("helpers.reset"), clinic_visits_path
20
20
 
21
21
  .filters__output
@@ -31,5 +31,5 @@
31
31
  wrapper: :horizontal_large
32
32
 
33
33
  = f.button :submit
34
- span= " or "
34
+ ' or
35
35
  = link_to "cancel", patient_clinical_profile_path(patient)
@@ -5,5 +5,5 @@
5
5
  = f.input :name_cont, label: "Name contains"
6
6
  .small-4.end.columns.actions
7
7
  = f.submit t("helpers.submit.filter"), class: "button"
8
- span= " or "
8
+ ' or
9
9
  = link_to t("helpers.reset"), directory_people_path
@@ -10,5 +10,5 @@
10
10
  = render "address_form", f: f
11
11
 
12
12
  = f.button :submit
13
- span= " or "
13
+ ' or
14
14
  = link_to "cancel", directory_people_path
@@ -7,5 +7,5 @@
7
7
  = f.search_field :name_or_drug_types_name_start
8
8
  .small-3.large-4.columns.actions.end
9
9
  = f.submit t("helpers.submit.filter"), class: "button"
10
- span= " or "
10
+ ' or
11
11
  = link_to t("helpers.reset"), drugs_drugs_path
@@ -11,5 +11,5 @@
11
11
  = f.collection_check_boxes :drug_type_ids, Renalware::Drugs::Type.all, :id, :name
12
12
 
13
13
  = f.button :submit
14
- span= " or "
14
+ ' or
15
15
  = link_to "cancel", drugs_drugs_path
@@ -16,5 +16,5 @@
16
16
  label: "Created by"
17
17
  .medium-3.large-3.columns.actions.end
18
18
  = f.submit "Filter", class: "button"
19
- span= " or "
19
+ ' or
20
20
  = link_to t("helpers.reset"), patient_events_path(events.patient)
@@ -33,5 +33,5 @@
33
33
  br
34
34
 
35
35
  = submit_tag "Save", class: "button"
36
- span= " or "
36
+ ' or
37
37
  = link_to "Cancel", return_url
@@ -25,5 +25,5 @@
25
25
  label: "To"
26
26
  .small-12.medium-2.large-2.columns.actions.end
27
27
  = f.submit t("helpers.submit.filter"), class: "button secondary"
28
- span= " or "
28
+ ' or
29
29
  = link_to t("helpers.reset"), renalware.events_filtered_list_path(named_filter: :all)
@@ -6,5 +6,5 @@
6
6
  = simple_form_for event_type, html: { autocomplete: "off" } do |f|
7
7
  = f.input :name, label: "Event Type"
8
8
  = f.button :submit
9
- span= " or "
9
+ ' or
10
10
  = link_to "cancel", events_types_path
@@ -5,5 +5,5 @@
5
5
  = f.input :name, autofocus: true
6
6
 
7
7
  = f.button :submit
8
- span= " or "
8
+ ' or
9
9
  = link_to "cancel", hd_cannulation_types_path
@@ -4,7 +4,7 @@ ruby:
4
4
  .row.top
5
5
  .medium-6.columns
6
6
  = f.button :submit
7
- span= " or "
7
+ ' or
8
8
  = link_to "cancel", back_path
9
9
 
10
10
  .form-content
@@ -133,5 +133,5 @@ ruby:
133
133
  .row.form-actions
134
134
  .large-12.columns
135
135
  = f.button :submit
136
- span= " or "
136
+ ' or
137
137
  = link_to "cancel", back_path
@@ -8,5 +8,5 @@
8
8
  = f.input :"#{element}_content_uom", wrapper: :horizontal_small
9
9
 
10
10
  = f.button :submit
11
- span= " or "
11
+ ' or
12
12
  = link_to "cancel", hd_dialysates_path