<div class="control-group">
  <label class="control-label" for="setting-title">Site title</label>
  <div class="controls">
    <?= $this->inputText('setting[title]', $this->escape($this->setting->title), array('class' => 'input-xxlarge required')); ?>
  </div>
</div>

<blockquote>
<div class="control-group">
  <label class="control-label" for="setting-email">Contact Email</label>
  <div class="controls">
    <?= $this->inputText('setting[email]', $this->escape($this->setting->email), array('class' => 'input-xxlarge required email')); ?>
  </div>
</div>

<div class="control-group">
  <label class="control-label" for="setting-email_cco">Contact email copy</label>
  <div class="controls">
    <?= $this->inputText('setting[email_cco]', $this->escape($this->setting->email_cco), array('class' => 'input-xxlarge email')); ?>
  </div>
</div>
</blockquote>

<blockquote>
<div class="control-group">
  <label class="control-label" for="setting-facebook">Facebook URL</label>
  <div class="controls">
    <?= $this->inputText('setting[facebook]', $this->escape($this->setting->facebook), array('class' => 'input-xxlarge')); ?>
  </div>
</div>
<div class="control-group">
  <label class="control-label" for="setting-twitter">Twitter (without @)</label>
  <div class="controls">
    <?= $this->inputText('setting[twitter]', $this->escape($this->setting->twitter), array('class' => 'input-xxlarge')); ?>
  </div>
</div>
<div class="control-group">
  <label class="control-label" for="setting-linkedin">Linkedin</label>
  <div class="controls">
    <?= $this->inputText('setting[linkedin]', $this->escape($this->setting->linkedin), array('class' => 'input-xxlarge')); ?>
  </div>
</div>
<div class="control-group">
  <label class="control-label" for="setting-youtube">Canal do Youtube</label>
  <div class="controls">
    <?= $this->inputText('setting[youtube]', $this->escape($this->setting->youtube), array('class' => 'input-xxlarge')); ?>
  </div>
</div>
</blockquote>

<blockquote>
<div class="control-group">
  <label class="control-label" for="setting-meta_keywords">Meta keywords</label>
  <div class="controls">
    <textarea name="setting[meta_keywords]" id="setting-meta_keywords" class="input-xxlarge" rows="4"><?=$this->escape($this->setting->meta_keywords);?></textarea>
  </div>
</div>

<div class="control-group">
  <label class="control-label" for="setting-meta_description">Meta description</label>
  <div class="controls">
    <textarea name="setting[meta_description]" id="setting-meta_description" class="input-xxlarge" rows="4"><?=$this->escape($this->setting->meta_description);?></textarea>
  </div>
</div>
</blockquote>

<blockquote>
<div class="control-group">
  <label class="control-label" for="setting[tapume]">Em tapume</label>
  <div class="controls">
    <label class="checkbox">
      <input type="checkbox" id="setting[tapume]" name="setting[tapume]" value="1"<?= (($this->setting->tapume == '1')? ' checked="yes"': '') ?> />
    </label>
  </div>
</div>
<div class="control-group">
  <label class="control-label" for="setting-tapume_texto">Texto do tapume</label>
  <div class="controls">
    <textarea name="setting[tapume_texto]" id="setting-tapume_texto" class="input-xxlarge" rows="4"><?=$this->escape($this->setting->tapume_texto);?></textarea>
  </div>
</div>
</blockquote>

<blockquote>
  <div class="control-group">
    <label class="control-label" for="setting-google_client_id">Client ID</label>
    <div class="controls">
      <?= $this->inputText('setting[google_client_id]', $this->escape($this->setting->google_client_id), array('class' => 'input-xxlarge')); ?>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="setting-google_client_secret">Client secret</label>
    <div class="controls">
      <?= $this->inputText('setting[google_client_secret]', $this->escape($this->setting->google_client_secret), array('class' => 'input-xxlarge')); ?>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="setting-google_developer_key">API key</label>
    <div class="controls">
      <?= $this->inputText('setting[google_developer_key]', $this->escape($this->setting->google_developer_key), array('class' => 'input-xxlarge')); ?>
    </div>
  </div>
</blockquote>

<input type="hidden" name="setting[id]" value="<?=$this->setting->id;?>"/>