<?php echo $this->renderPartial('/_include/header')?>

<div id="contentHeader">
  <h3>自定义属性</h3>
  <div class="searchArea">
    <ul class="action left" >
    </ul>
    <div class="search right"> </div>
  </div>
</div>
<?php if($attrModel):?>
<form action="" method="post"  enctype="multipart/form-data" >
  <?php $this->renderPartial('/_include/attr2content', array('attrModel'=>$attrModel, 'attrData'=>$attrData));?>
  <div class="submit" style="padding-top:10px">
    <input type="submit" name="editsubmit" value="提交" class="button" tabindex="3" />
    <a href="<?php echo $this->createUrl('attr/create')?>" class="actionLink"><span>录入更多属性</span></a> </div>
</form>
<?php else:?>
<a href="<?php echo $this->createUrl('attr/create')?>" class="actionLink"><span>请先录入属性</span></a>

<?php endif?>
<?php echo $this->renderPartial('/_include/footer')?>