responsify create room form
This commit is contained in:
parent
1cc84a967a
commit
bc6aa9a209
|
@ -110,7 +110,7 @@ function admin_rooms() {
|
||||||
}
|
}
|
||||||
$angeltypes_count_form = array();
|
$angeltypes_count_form = array();
|
||||||
foreach ($angeltypes as $angeltype_id => $angeltype)
|
foreach ($angeltypes as $angeltype_id => $angeltype)
|
||||||
$angeltypes_count_form[] = form_spinner('angeltype_count_' . $angeltype_id, $angeltype, $angeltypes_count[$angeltype_id]);
|
$angeltypes_count_form[] = div('col-lg-4 col-md-6 col-xs-6', array(form_spinner('angeltype_count_' . $angeltype_id, $angeltype, $angeltypes_count[$angeltype_id])));
|
||||||
|
|
||||||
return page_with_title(admin_rooms_title(), array(
|
return page_with_title(admin_rooms_title(), array(
|
||||||
buttons(array(
|
buttons(array(
|
||||||
|
@ -118,12 +118,22 @@ function admin_rooms() {
|
||||||
)),
|
)),
|
||||||
$msg,
|
$msg,
|
||||||
form(array(
|
form(array(
|
||||||
|
div('row', array(
|
||||||
|
div('col-md-6', array(
|
||||||
form_text('name', _("Name"), $name),
|
form_text('name', _("Name"), $name),
|
||||||
form_checkbox('from_pentabarf', _("Frab import"), $from_pentabarf),
|
form_checkbox('from_pentabarf', _("Frab import"), $from_pentabarf),
|
||||||
form_checkbox('public', _("Public"), $public),
|
form_checkbox('public', _("Public"), $public),
|
||||||
form_text('number', _("Room number"), $number),
|
form_text('number', _("Room number"), $number)
|
||||||
|
)),
|
||||||
|
div('col-md-6', array(
|
||||||
|
div('row', array(
|
||||||
|
div('col-md-12', array(
|
||||||
form_info(_("Needed angels:")),
|
form_info(_("Needed angels:")),
|
||||||
join($angeltypes_count_form),
|
)),
|
||||||
|
join($angeltypes_count_form)
|
||||||
|
))
|
||||||
|
))
|
||||||
|
)),
|
||||||
form_submit('submit', _("Save"))
|
form_submit('submit', _("Save"))
|
||||||
))
|
))
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue