= @cinstance.live? ? image_tag('tick.png') : image_tag('cross.png')
= h @cinstance.state.capitalize

= remaining_trial_days(@cinstance) if @cinstance.trial?
- if @cinstance.pending?
  = render :partial => 'buyers/applications/accept_reject'
- elsif @cinstance.live?
  = fancy_link_to :suspend, suspend_admin_buyers_application_path(@cinstance),
                  :method => :post, :remote => true, data: {:confirm => suspend_application_confirmation(@cinstance)}
- elsif @cinstance.suspended?
  = fancy_link_to :resume, resume_admin_buyers_application_path(@cinstance), :method => :post, :remote => true
