Sha256: a16a82b55cb99d39b60180d6072bf64d33c1d276d4a3c1839c0d480c44e32584

Contents?: true

Size: 309 Bytes

Versions: 19

Compression:

Stored size: 309 Bytes

Contents

- entity_name = controller.controller_name.singularize.underscore #account
- @entity = instance_variable_get("@#{entity_name}")

$('#main').html('#{ j (render :template => "#{entity_name.pluralize}/show.html", entity_name => @entity) }');
= raw generate_js_for_popups(@entity, :tasks, :leads, :opportunities)

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/campaigns/show.js.haml
fat_free_crm-0.15.2 app/views/campaigns/show.js.haml
fat_free_crm-0.16.4 app/views/campaigns/show.js.haml
fat_free_crm-0.14.1 app/views/campaigns/show.js.haml
fat_free_crm-0.15.1 app/views/campaigns/show.js.haml
fat_free_crm-0.16.3 app/views/campaigns/show.js.haml
fat_free_crm-0.16.2 app/views/campaigns/show.js.haml
fat_free_crm-0.16.1 app/views/campaigns/show.js.haml
fat_free_crm-0.16.0 app/views/campaigns/show.js.haml
fat_free_crm-0.15.0 app/views/campaigns/show.js.haml
fat_free_crm-0.15.0.beta.2 app/views/campaigns/show.js.haml
fat_free_crm-0.15.0.beta app/views/campaigns/show.js.haml
fat_free_crm-0.14.0 app/views/campaigns/show.js.haml
reduced_fat_crm-0.15.0.beta app/views/campaigns/show.js.haml
reduced_fat_crm-0.14.0 app/views/campaigns/show.js.haml
fat_free_crm-0.13.6 app/views/campaigns/show.js.haml
fat_free_crm-0.13.5 app/views/campaigns/show.js.haml
fat_free_crm-0.13.4 app/views/campaigns/show.js.haml
fat_free_crm-0.13.3 app/views/campaigns/show.js.haml