- if policy(letter).update?
  = link_to "Edit", edit_patient_letters_letter_path(letter.patient, letter),
      class: "button tiny"
  = pipe_separator
- if policy(letter).mark_as_typed?
  = button_to "Mark as Typed", patient_letters_letter_typed_path(letter.patient, letter),
      form_class: "inline", class: "button tiny", data: { confirm: "Are you sure?" }
= pipe_separator
= link_to 'back to list', patient_letters_letters_path(letter.patient)

- if policy(letter).update?
  = link_to "Edit", edit_patient_letters_letter_path(letter.patient, letter),
      class: "button tiny"
  = pipe_separator
- if policy(letter).mark_as_typed?
  = button_to "Mark as Typed", patient_letters_letter_typed_path(letter.patient, letter),
      form_class: "inline", class: "button tiny", data: { confirm: "Are you sure?" }
  = pipe_separator
= link_to 'back to list', patient_letters_letters_path(letter.patient)

Fix formatting of action buttons
Fix formatting of action buttons

Don't display the link separator if it's not required

airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core