title: How can I edit gravity forms using hooks?
body: <p>I am working on a simple email signup form and want to remove all of the bloat that gravity forms has.  I know that I can't get rid of some of the javascript, but I would like be able to have the form work with out using an ul, remove the title and description, etc. </p>
  
  <p>Here is what the static html version of the email signup looks like (I am using bootstrap 3):
  <img src="https://i.stack.imgur.com/I8W2R.png" alt="enter image description here"></p>
  
  <p><strong>How can I make my gravity form go from:</strong> </p>
  
  <pre><code>&lt;div class="gf_browser_chrome gform_wrapper" id="gform_wrapper_2"&gt;&lt;form method="post" enctype="multipart/form-data" id="gform_2" action="/exrnawp/" class="form-horizontal"&gt;
                          &lt;div class="gform_heading"&gt;
                              &lt;span class="gform_description"&gt;&lt;/span&gt;
                          &lt;/div&gt;
                          &lt;div class="gform_body"&gt;
                              &lt;ul id="gform_fields_2" class="gform_fields top_label description_below"&gt;&lt;li id="field_2_1" class="gfield               gfield_contains_required"&gt;&lt;label class="gfield_label" for="input_2_1"&gt;Email&lt;span class="gfield_required"&gt;*&lt;/span&gt;&lt;/label&gt;&lt;div class="ginput_container"&gt;&lt;input name="input_1" id="input_2_1" type="email" value="" class="medium" placeholder="Email Newsletter"&gt;&lt;/div&gt;&lt;/li&gt;
                              &lt;/ul&gt;&lt;/div&gt;
          &lt;div class="gform_footer top_label"&gt; &lt;input type="submit" id="gform_submit_button_2" class="button gform_button" value="Get Updates!" onclick="if(window[&amp;quot;gf_submitting_2&amp;quot;]){return false;}  if( !jQuery(&amp;quot;#gform_2&amp;quot;)[0].checkValidity || jQuery(&amp;quot;#gform_2&amp;quot;)[0].checkValidity()){window[&amp;quot;gf_submitting_2&amp;quot;]=true;} "&gt;
              &lt;input type="hidden" class="gform_hidden" name="is_submit_2" value="1"&gt;
              &lt;input type="hidden" class="gform_hidden" name="gform_submit" value="2"&gt;
              &lt;input type="hidden" class="gform_hidden" name="gform_unique_id" value=""&gt;
              &lt;input type="hidden" class="gform_hidden" name="state_2" value="WyJhOjA6e30iLCIxNTU1YWU5Yzg1OGIxMDQ3ZGY5ZGZlZGU2MzA1ODNlMSJd"&gt;
              &lt;input type="hidden" class="gform_hidden" name="gform_target_page_number_2" id="gform_target_page_number_2" value="0"&gt;
              &lt;input type="hidden" class="gform_hidden" name="gform_source_page_number_2" id="gform_source_page_number_2" value="1"&gt;
              &lt;input type="hidden" name="gform_field_values" value=""&gt;
  
          &lt;/div&gt;
                  &lt;/form&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p><strong>to this:</strong></p>
  
  <pre><code>&lt;form class="form-inline" role="form"&gt;
    &lt;div class="form-group"&gt;
      &lt;input type="email" class="form-control" id="exampleInputEmail2" placeholder="Email Newsletter"&gt;
    &lt;/div&gt;
    &lt;button type="submit" class="btn btn-warning pull-right"&gt;&lt;strong&gt;SIGN UP&lt;/strong&gt;    &lt;/button&gt;
  &lt;/form&gt;
  </code></pre>