Skip to content

Instantly share code, notes, and snippets.

@benlangfeld
Created December 11, 2010 18:17
Show Gist options
  • Select an option

  • Save benlangfeld/737533 to your computer and use it in GitHub Desktop.

Select an option

Save benlangfeld/737533 to your computer and use it in GitHub Desktop.
1: .campaign-data-group
2: %h3
3: Polling by
4: = CallCampaign.human_enum_name :query_type, call_campaign.query_type
5: - if permitted_to? :edit, call_campaign
6: = link_to t("web_app_theme.edit", :default=> "Edit"), send("edit_#{call_campaign.class.to_s.tableize.singularize}_path", call_campaign), :class => "dialog_link", :"data-title" => "Edit #{call_campaign.name} Targets"
7: - case call_campaign.query_type
translation data {:area_code=>"Telephone Area Code"} can not be used with :count => 1
i18n (0.5.0) lib/i18n/backend/base.rb:133:in `pluralize'
i18n (0.5.0) lib/i18n/backend/base.rb:40:in `translate'
i18n (0.5.0) lib/i18n.rb:155:in `translate'
simple_enum (1.3.0) lib/simple_enum.rb:231:in `human_enum_name'
app/views/shared/_call_targets.html.haml:4:in `_app_views_shared__call_targets_html_haml___108198767697929510_2159165340__773812072362355402'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment