Error using span in CakePHP

0

As the attached image I can not use the span when I move to the Cake pattern. Can someone help me, pfv.

<div class='col-md-12'>
  <div class="input-group" >
    <!-- Span Bootstrap -->
    <span class="input-group-addon" id="email1">E-mail:</span>
      <input type="text" class="form-control" id="basic-url" aria-describedby="email1">
    </div>
    <!-- Fim Span com Bootstrap -->
    <!-- Span Bootstrap no padrão CakePHP -->
    <div class="input-group" >
      <?php  echo $this->Form->input('email', ['type' => 'text', 'class' => 'input-group-addon', 
              'aria-describedby' => 'email', 'span' => ['class' => 'input-group-addon', 'id'=> 'email', 'text' => 'E-mail']
              ]); ?>
    </div>
    <!-- Span Bootstrap no padrão CakePHP -->
</div>

Print attached below

    
asked by anonymous 06.06.2017 / 15:21

0 answers