title: How can I create cakephp 3 custom template
body: <p>I am new in cakephp 3.</p>
  
  <p>I want to create form helper that will generate code like this.</p>
  
  <pre><code> &lt;div class="form-group"&gt;
          &lt;label for="inputEmail3" class="col-sm-3 control-label"&gt;Email&lt;/label&gt;
          &lt;div class="col-sm-9"&gt;
              &lt;input type="email" class="form-control" id="inputEmail3" placeholder="Email" required=""&gt;
          &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am using this </p>
  
  <pre><code>&lt;?php 
          $myTemplates = [
              'inputContainer' =&gt; '&lt;div class="form-group"&gt;{{label}}&lt;div class="col-sm-9"&gt;{{input}}&lt;/div&gt;&lt;/div&gt;',
              'inputContainerError' =&gt; '&lt;div class="input {{class}} {{type}}{{required}} error"&gt;{{content}}{{error}}&lt;/div&gt;'
          ];
      ?&gt;
      &lt;?= $this-&gt;Form-&gt;create('Users',['templates' =&gt; $myTemplates]) ?&gt;                       
      &lt;?= $this-&gt;Form-&gt;input('email',['class' =&gt; 'form-control','templates' =&gt; ['formGroup' =&gt; '{{input}}{{label}}']]) ?&gt;
  </code></pre>
  
  <p>But it will generate wrong</p>