{% load opalplugins %}
<p
   ng-hide="episode.category != 'inpatient'")
   >
  <button 
     ng-hide="profile.readonly"
     ng-click="dischargeEpisode(episode)"
     class="btn btn-primary">
      <i class="fa fa-home"></i>
      Discharge
  </button>
</p>
<p ng-show="episode.category == 'OPAT'">
  <button 
     ng-hide="profile.readonly"
     ng-click="dischargeEpisode(episode)"
     class="btn btn-primary">
    <i class="glyphicon glyphicon-ok"></i>
    <span ng-show="episode.hasTag('opat_referrals')" >Accept / refuse</span>
    <span ng-show="episode.hasTag('opat_current')" >Completed IV</span>
    <span ng-show="episode.hasTag('opat_followup')" >Next</span> 
  </button>
</p>
{% application_actions %}

{% load opalplugins %}
<p
   ng-hide="episode.category != 'inpatient'")
   >
  <button 
     ng-hide="profile.readonly"
     ng-click="dischargeEpisode(episode)"
     class="btn btn-primary btn-sm">
      <i class="fa fa-home"></i>
      <span ng-show="episode.discharge_date">Confirm</span>
      Discharge
  </button>
</p>
<p ng-show="episode.category == 'OPAT'">
  <button 
     ng-hide="profile.readonly"
     ng-click="dischargeEpisode(episode)"
     class="btn btn-primary btn-sm">
    <i class="glyphicon glyphicon-ok"></i>
    <span ng-show="episode.hasTag('opat_referrals')" >Accept / refuse</span>
    <span ng-show="episode.hasTag('opat_current')" >Completed IV</span>
    <span ng-show="episode.hasTag('opat_followup')" >Next</span> 
  </button>
</p>
{% application_actions %}

Make episode action buttons smaller
Make episode action buttons smaller
