module Admin::SubscriptionsHelper
  def subscription_status(subscription)
    if subscription.checked?
      "<span class='px-2 py-1 bg-green-100 rounded-full'>Confirmed</span>".html_safe
    else
      "<span class='px-2 py-1 bg-gray-100 rounded-full'>Un-confirmed</span>".html_safe
    end
  end
end
