<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-avatar" data-rule="required" class="form-control" size="50" name="row[avatar]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-avatar" class="btn btn-danger plupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-avatar"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-avatar"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Class_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-class_id" data-rule="required" data-field="class" data-source="classa/index" class="form-control selectpage" name="row[class_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Class_con_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-class_con_id" data-rule="required" data-field="class_con" data-source="class_con/index" class="form-control selectpage" name="row[class_con_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logo_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-logo_id" data-rule="required" data-field="logo" data-source="logo/index" class="form-control selectpage" name="row[logo_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fengzhuang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fengzhuang" data-rule="required" class="form-control" name="row[fengzhuang]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Con')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-con" data-rule="required" class="form-control" name="row[con]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stock')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stock" data-rule="required" class="form-control" name="row[stock]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Book_avatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-book_avatar" data-rule="required" class="form-control" size="50" name="row[book_avatar]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-book_avatar" class="btn btn-danger plupload" data-input-id="c-book_avatar" data-mimetype="*" data-multiple="false" data-preview-id="p-book_avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-book_avatar" class="btn btn-primary fachoose" data-input-id="c-book_avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-book_avatar"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-book_avatar"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tidu1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tidu1" class="form-control" name="row[tidu1]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tidu2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tidu2" class="form-control" name="row[tidu2]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tidu3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tidu3" class="form-control" name="row[tidu3]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tidu4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tidu4" class="form-control" name="row[tidu4]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tidu5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tidu5" class="form-control" name="row[tidu5]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price1" class="form-control" step="0.01" name="row[price1]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price2" class="form-control" step="0.01" name="row[price2]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price3" class="form-control" step="0.01" name="row[price3]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price4" class="form-control" step="0.01" name="row[price4]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price5" class="form-control" step="0.01" name="row[price5]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>