|
|
|
@ -110,7 +110,7 @@ function admin_rooms() {
|
|
|
|
|
}
|
|
|
|
|
$angeltypes_count_form = array();
|
|
|
|
|
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(
|
|
|
|
|
buttons(array(
|
|
|
|
@ -118,12 +118,22 @@ function admin_rooms() {
|
|
|
|
|
)),
|
|
|
|
|
$msg,
|
|
|
|
|
form(array(
|
|
|
|
|
div('row', array(
|
|
|
|
|
div('col-md-6', array(
|
|
|
|
|
form_text('name', _("Name"), $name),
|
|
|
|
|
form_checkbox('from_pentabarf', _("Frab import"), $from_pentabarf),
|
|
|
|
|
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:")),
|
|
|
|
|
join($angeltypes_count_form),
|
|
|
|
|
)),
|
|
|
|
|
join($angeltypes_count_form)
|
|
|
|
|
))
|
|
|
|
|
))
|
|
|
|
|
)),
|
|
|
|
|
form_submit('submit', _("Save"))
|
|
|
|
|
))
|
|
|
|
|
));
|
|
|
|
|