Fixed formatting

main
Igor Scheller 3 years ago
parent a68c8ae6d2
commit 2cfce86e25

@ -450,7 +450,7 @@ function form_element($label, $input, $for = '', $class = '')
*/ */
function form($elements, $action = '', $inline = false, $btnGroup = false) function form($elements, $action = '', $inline = false, $btnGroup = false)
{ {
return '<form action="' . $action . '" enctype="multipart/form-data" method="post"' return '<form action="' . $action . '" enctype="multipart/form-data" method="post"'
. ($btnGroup ? ' class="btn-group"' : '') . ($btnGroup ? ' class="btn-group"' : '')
. ($inline ? ' style="float:left"' : '') . '>' . ($inline ? ' style="float:left"' : '') . '>'
. join($elements) . join($elements)

@ -112,7 +112,8 @@ class UserShirtController extends BaseController
$user->state->save(); $user->state->save();
$this->log->info( $this->log->info(
'Updated user shirt state "{user}" ({id}): {size}, arrived: {arrived}, active: {active}, got shirt: {got_shirt}', 'Updated user shirt state "{user}" ({id}): '
. '{size}, arrived: {arrived}, active: {active}, got shirt: {got_shirt}',
[ [
'id' => $user->id, 'id' => $user->id,
'user' => $user->name, 'user' => $user->name,

Loading…
Cancel
Save