Rev 16234 | Rev 16376 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<link rel="stylesheet" type="text/css" href="<?php echo $base_url;?>css/bootstrap-wysihtml5-0.0.2.css"></link><div class="container"><div class="row"><div class="col-lg-3"><?php echo $this->Element('adminactions');?></div><div class="col-lg-9"><?php echo $this->Form->create('MasterData'); ?><fieldset><legend><?php echo __('Add to existing Master Data bundle'); ?></legend><?phpecho $this->Form->input('_id',array('readonly'=>true,'value'=>$data['_id'],'type'=>'text'));echo $this->Form->input('skuBundleId',array('readonly'=>true,'value'=>$data['skuBundleId']));echo $this->Form->input('available_price',array('value'=>$data['available_price']));echo $this->Form->input('brand',array('value'=>$data['brand']));echo $this->Form->input('cashback', array('type' => 'hidden','value'=>$data['cashback'] ));echo $this->Form->input('category_id',array('value'=>$data['category_id']));echo $this->Form->input('category',array('type'=>'text','value'=>$data['category']));echo $this->Form->input('identifier',array('required'=>1,'value'=>$data['identifier']));echo $this->Form->input('marketPlaceUrl',array('value'=>$data['marketPlaceUrl']));echo $this->Form->input('model_name',array('value'=>$data['model_name']));echo $this->Form->input('mrp',array('value'=>$data['mrp']));echo $this->Form->input('maxPrice',array('value'=>$data['maxPrice']));echo $this->Form->input('product_name',array('value'=>$data['product_name']));echo $this->Form->input('rank',array('value'=>$data['rank']));echo $this->Form->input('source_id',array('value'=>$data['source_id']));echo $this->Form->input('source',array('type'=>'text','value'=>$data['source']));echo $this->Form->input('secondaryIdentifier',array('value'=>$data['secondaryIdentifier']));echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ,'value'=>$data['sourceCategoryId']));echo $this->Form->input('sourceProductId', array('type' => 'hidden' ,'value'=>$data['sourceProductId']));echo $this->Form->input('source_product_name',array('value'=>$data['source_product_name']));echo $this->Form->input('source_url',array('value'=>$data['source_url']));echo $this->Form->input('status',array('value'=>$data['status']));echo $this->Form->input('in_stock',array('type'=>'select','options'=>$stock_statuses,'default'=>$data['in_stock']));echo $this->Form->input('stock_status',array('type'=>'text','value'=>$data['stock_status']));echo $this->Form->input('thumbnail',array('value'=>$data['thumbnail']));echo $this->Form->input('url',array('value'=>$data['url']));echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));echo $this->Form->input('tagline',array('value'=>$data['tagline'],'type'=>'textarea'));echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status,'default'=>$data['is_shortage']));echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag,'default'=>$data['buyBoxFlag']));echo $this->Form->input('coupon',array('value'=>$data['coupon']));echo $this->Form->input('codAvailable',array('type'=>'select','options'=>$buyBoxFlag,'default'=>$data['codAvailable']));echo $this->Form->input('multi',array('type'=>'checkbox'));?></fieldset><?php echo $this->Form->end(__('Submit')); ?></div></div></div></div><script src="<?php echo $base_url;?>js/wysihtml5-0.3.0_rc2.js"></script><script src="<?php echo $base_url;?>js/bootstrap-wysihtml5-0.0.2.js"></script><script type="text/javascript">$('#MasterDataOffer').wysihtml5({"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true"emphasis": true, //Italics, bold, etc. Default true"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true"html": true, //Button which allows you to edit the generated HTML. Default false"link": false, //Button to insert a link. Default true"image": false, //Button to insert an image. Default true,"color": false //Button to change color of font});$('#MasterDataTagline').wysihtml5({"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true"emphasis": true, //Italics, bold, etc. Default true"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true"html": true, //Button which allows you to edit the generated HTML. Default false"link": false, //Button to insert a link. Default true"image": false, //Button to insert an image. Default true,"color": false //Button to change color of font});</script>