Sha256: 544866d5b140b52f1cd8401b8f4ca0a635a639a8e5d4cae4c2b7633d53b7d283

Contents?: true

Size: 510 Bytes

Versions: 65

Compression:

Stored size: 510 Bytes

Contents

- entities = controller.controller_name # accounts
- @entities = instance_variable_get("@#{entities}")

- if @entities.any?
  $('##{entities}').html('#{ j render(@entities) }');
- else
  $('##{entities}').html('#{ j render(partial: "shared/empty") }');

$('#paginate').html('#{ j render(partial: "shared/paginate_with_per_page") }');
$('#export').html('#{ j render(partial: "shared/export") }');
$('#search_results_count').html('#{ j render(plain: t('search_results_count', count: @search_results_count)) }');

Version data entries

65 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.17.1 app/views/campaigns/index.js.haml
fat_free_crm-0.17.1 app/views/opportunities/index.js.haml
fat_free_crm-0.17.1 app/views/leads/index.js.haml
fat_free_crm-0.17.1 app/views/contacts/index.js.haml
fat_free_crm-0.17.1 app/views/accounts/index.js.haml