Sha256: 93a4ed7d95dd4944784e1f3be3a66c4bdf463796ee4aa17fb4f65f3e7a9e8375

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

.toolbar
  .toolbar-left
    = form_tag(resource_class, :method => :get, :id => 'contact_search_form') do
      = label_tag 'contact_search_field', t(:search)
      = text_field_tag 'search', params[:search], :id => 'contact_search_field'
      = submit_tag t(:go), :name => nil
    = submit_tag t(:clear), :name => nil, :id => 'contact_search_clear'
  .toolbar-middle
    = form_tag new_contact_email_path, :method => :get, :id => 'contact_email_form', 'data-empty' => e9_t(:no_contacts_notification), 'data-count' => @user_ids.length do
      = select_tag 'etid', contact_email_template_select_options
      = hidden_field_tag 'uids', @user_ids.join(','), :id => 'contact_email_uids'
      = submit_tag e9_t(:send_email_template), :name => nil
    = form_tag send_email_admin_user_email_path('__ID__'), :method => :put, :id => 'contact_newsletter_form', 'data-confirm' => e9_t(:contact_newsletter_confirmation, :count => collection.length), 'data-empty' => e9_t(:no_contacts_notification), 'data-count' => @user_ids.length  do
      = select_tag 'eid', contact_newsletter_select_options
      = hidden_field_tag 'uids', @user_ids.join(','), :id => 'contact_newsletter_uids'
      = submit_tag e9_t(:send_email_newsletter), :name => nil
  .toolbar-right
    = link_to_new_resource(Contact)
    = link_to_new_resource(Company)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
e9_crm-0.1.1 app/views/e9_crm/contacts/_header.html.haml