add and edit form in two columns
- Single Page
Posted 05 December 2012 - 21:52 PM
Posted 16 March 2013 - 22:22 PM
I created something about it, in add.php and edit.php files in the path:
(assets\grocery_crud\themes\flexigrid\views\)
I added this code to test, still not finished.
<?php if( $counter <= 45) { ?> <div style="float:left;"> <?php } ?> <?php if( $counter > 45) { ?> <div style="float:right;"> <?php } ?>
before the line:
<div class='form-field-box <?php echo $even_odd?>' id="<?php echo $field->field_name; ?>_field_box">
with the intention of using more space on the screen, look something like this:
http://s15.postimage.org/iybqjwqsb/add_record10.jpg
good ideas are welcome :)
Posted 22 March 2013 - 06:22 AM
How did you did it?
I created something about it, in add.php and edit.php files in the path:
(assets\grocery_crud\themes\flexigrid\views\)
I added this code to test, still not finished.
<?php if( $counter <= 45) { ?> <div style="float:left;"> <?php } ?> <?php if( $counter > 45) { ?> <div style="float:right;"> <?php } ?>
before the line:<div class='form-field-box <?php echo $even_odd?>' id="<?php echo $field->field_name; ?>_field_box">
with the intention of using more space on the screen, look something like this:
http://s15.postimage.org/iybqjwqsb/add_record10.jpg
good ideas are welcome :)
Sir How did you did it? Can you share some code to keep some space?