<div id="step_data_manipulation" class="mailpoet_hidden">
  <div class="inside">

    <!-- New segment template -->
    <script id="new_segment_template" type="text/x-handlebars-template">
      <p>
        <label><%= __('Name') %>:</label>
        <input id="new_segment_name" type="text" name="name"/>
      </p>
      <p class="mailpoet_validation_error" data-error="segment_name_required">
        <%= __('Please specify a name.') %>
      </p>
      <p class="mailpoet_validation_error" data-error="segment_name_not_unique">
        <%= __('Another record already exists. Please specify a different "%1$s".')|format('name') %>
      </p>
      <p>
        <label><%= __('Description') %>:</label>
        <br/>
        <textarea id="new_segment_description" cols="40" rows="3" name="description"/>
      </p>

      <hr/>

      <p class="mailpoet_align_right">
        <input type="submit" value="<%= __('Done') %>" id="new_segment_process"
         class="button-primary "/>
        <input type="submit" value="<%= __('Cancel') %>" id="new_segment_cancel"
         class="button-primary"/>
      </p>

      </form>
    </script>

    <!-- New custom field logic -->
    <% include 'form/custom_fields_legacy.html' %>
  </div>
</div>
