Created
          March 8, 2019 16:14 
        
      - 
      
- 
        Save totomz/d7cb7b89e7fd4d7d80ff6244048f5088 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <script> | |
| hbspt.forms.create({ | |
| portalId: "0000", | |
| formId: "aaa-bbbb-cccc", | |
| onFormReady: function($form){ | |
| var input = $form.find('input[type=email]'); | |
| input.addClass('form-control'); | |
| input.attr('placeholder','Enter your e-mail address'); | |
| // Get rid of labels we don't whant them | |
| $form.find('label').remove(); | |
| // Style the submit button | |
| $form.find('.actions').addClass('subscribe-submit form-group clearfix mb-0'); | |
| var submit = $form.find('input[type=submit]'); | |
| submit.addClass('btn btn-primary btn-square float-left'); | |
| } | |
| }); | |
| </script> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment