Rev 15884 | 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 Master Data'); ?></legend><?phpecho $this->Form->input('available_price');echo $this->Form->input('brand');echo $this->Form->input('cashback', array('type' => 'hidden' ));echo $this->Form->input('category_id');echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));echo $this->Form->input('identifier',array('required'=>1));echo $this->Form->input('marketPlaceUrl');echo $this->Form->input('model_name');echo $this->Form->input('mrp',array('value'=>0));echo $this->Form->input('maxPrice',array('value'=>0));echo $this->Form->input('product_name');echo $this->Form->input('rank');echo $this->Form->input('source_id');echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));echo $this->Form->input('secondaryIdentifier');echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));echo $this->Form->input('source_product_name');echo $this->Form->input('source_url');echo $this->Form->input('status');echo $this->Form->input('in_stock',array('type'=>'select','options'=>$stock_statuses));echo $this->Form->input('stock_status');echo $this->Form->input('thumbnail');echo $this->Form->input('url');echo $this->Form->input('offer',array('type'=>'textarea'));echo $this->Form->input('tagline',array('type'=>'textarea'));echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag));echo $this->Form->input('coupon');echo $this->Form->input('codAvailable',array('type'=>'select','options'=>$buyBoxFlag,'value'=>1));?></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>