} ?> <?php if ($showField('location')) { ?> <?php echo Form::labelInput('location', _('City'), 'text'); } ?> <?php if ($showField('event_type_id')) { ?> <?php echo Form::labelSelect('event_type_id', _('Event type'), EventType::toTransList(_('Select an option'))); } ?> <?php if ($showField('begin')) { ?> <?php echo Form::labelInput('begin', _('Begin'), 'date', $event->begin ? $event->begin->format('Y-m-d') : null); } ?> <?php if ($showField('end')) { ?> <?php
<hr class="page-divider transparent visible-xs" /> <div class="col-md-4"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"><?php echo _('Personal data'); ?> </h4> </div> <div class="panel-body"> @include('user._common_fields') <?php echo Form::labelSelect('gender', _('Gender'), ['M' => _('Male'), 'F' => _('Female'), '' => _('Not informed')]); ?> <?php echo Form::labelInput('birthday', _('Birthday'), 'date', $user->birthday ? $user->birthday->format('Y-m-d') : null); ?> </div> </div> </div> <div class="col-md-12"> <div class="row buttons-row text-center"> <a href="javascript:history.back()" class="btn btn-theme btn-theme-lg btn-theme-grey-dark"> <?php echo _('Go back'); ?>
<aside id="sidebar-info" class="sidebar col-sm-12 col-md-5 col-lg-4"> <div class="widget"> <div class="panel panel-default"> <div class="panel-heading" > <h4 class="panel-title"><?php echo _('Themes'); ?> </h4> </div> <div class="panel-body"> <input type="hidden" name="theme_ids" id="theme_ids" /> <?php //TODO: fix this label's font size ?> <?php $themes_list = $event->themes->pluck('name', 'id')->all(); ?> <?php echo Form::labelSelect('themes_str', _('Write event themes separated by commas:'), $themes_list, array_keys($themes_list), ['input' => ['class' => 'tags-input', 'multiple' => true]]); ?> </div> </div> </div> </aside> </div> @endsection