{% extends 'base.html.twig' %}
{% block title%}Build your email{% endblock%}
{% block body %}

<div class="saved">Project Saved</div>
  <div class="row">
   <div class="first-col cols_12-6">

    <h3> {{ emailproject.title }}</h3>
  
    </div>
    <div class="cols_12-6">

    </div>    
  </div>
  
<div class="project_options">
  <i id="saveProject" class="fa fa-lg fa-floppy-o saveProject" aria-hidden="true" title="Save Project" data-action="saveProject"></i>
  <i id="grabAllCode" class="fa fa-lg fa-code grabAllCode" aria-hidden="true" title="Grab the Code" data-action="grabAllCode"></i>
  <i id="clearContainer" class="fa fa-lg fa-times clearContainer" aria-hidden="true" title="Clear Container" data-action="clearContainer"></i>
</div>
  

<div id="load" >
  <div id="loadContent"></div>
</div>
{% include 'emailproject/controlpanel.html' with {'modules':'modules'} %}
{% include 'emailproject/cropbox.html' %}

<div class="row" style="padding-top:20px;border-top:1px solid #ddd;background:url('http://image.exct.net/lib/fe6e15707166047a7715/m/1/sdta_nl_small_texture.png');">
  <div class="first-col cols_12-12">
    <main id="container" class="container">
     
  
     
     {% if emailproject.body is empty %}<span class="empty">No HTML yet. Get to work!{% endif %}
      
      {{ emailproject.body|raw }}
      
      {% if emailproject.body is empty %}</span>{% endif %}
      
    </main>

  </div>
</div>
</form>
{% endblock %} 