ministryofjustice/Claim-for-Crown-Court-Defence

View on GitHub
app/views/case_workers/admin/allocations/new.html.haml

Summary

Maintainability
Test Coverage

- unless params[:tab] == 'allocated'
  = content_for :page_title, flush: true do
    = t('.page_title_allocation')

  .js-allocation-page
    = render partial: 'allocation'
- else

  = content_for :page_title, flush: true do
    = t('.page_title_reallocation')

  .js-re-allocation-page
    = render partial: 're_allocation'

  = paginate @claims