$ImagePicker = new blog_ImageManager(); $ImagePicker->display_picker(); ?> </div> </div> <div class="col-xs-12"> <?php $Input = new ifx_Input('textarea'); $Input->bindTo('mBlogPostRevision', 'data')->label('Post')->editor()->outerClass('droppable')->display(); $ImagePicker = new blog_ImageManager(); $ImagePicker->display_picker(); $Input = new ifx_Input('input', 'text'); $Input->bindTo('mBlogPostRevision', 'url')->label('URL Slug')->display(); $Input = new ifx_Input('textarea'); $Input->bindTo('mBlogPostRevision', 'metadesc')->label('Meta Description')->display(); ?> </div> <div class="col-xs-12"> <?php display_view('/blog/actions'); ?> </div> <?php if (isset($Post)) { ?> <div class="col-xs-12 revisionhistory"> <h4>Revision History</h4> <ul> <?php $i = 0;
</div> <div class="col-xs-3"> <?php $Input = new ifx_Input('input', 'number'); $Input->bindTo('mStoreItem', 'available')->label('Quantity Available')->display(); ?> </div> <div class="col-xs-3"> <?php $Input = new ifx_Input('input', 'number'); $Input->bindTo('mStoreItem', 'weight')->label('Single Item Weight (kg)')->display(); ?> </div> <div class="col-xs-3"> <?php $Input = new ifx_Input('input', 'checkbox'); $Input->value(true)->bindTo('mStoreItem', 'active')->label('Active')->display(); ?> </div> <div class="col-xs-12"> <?php $Input = new ifx_Input('textarea'); $Input->bindTo('mStoreItem', 'description')->label('Description')->editor()->outerClass('droppable')->display(); if (isset($StoreItem)) { $ImagePicker = new store_ImageManager($StoreItem->id()); $ImagePicker->display_picker(); } ?> </div> </form>