/**
  * view method
  *
  * @access public
  * @return void
  * @author ida
  */
 public function view()
 {
     $this->entry_styles = \Config::get('master.entry_styles');
     $this->item_categories = \Model_Entry::getItemCategories();
     $this->entry_statuses = \Model_Entry::getEntryStatuses();
     $this->devices = \Model_Entry::getDevices();
 }
 /**
  * 入力
  *
  * @access public
  * @param
  * @return void
  * @author kobayashi
  */
 public function action_index()
 {
     $fleamarket_id = $this->fleamarket->fleamarket_id;
     $has_empty_booth = \Model_Fleamarket::hasEmptyBooth($fleamarket_id);
     $can_reserve = $this->canReserve($fleamarket_id, $has_empty_booth);
     $view_model = \ViewModel::forge('reservation/index');
     $view_model->set('fieldset', $this->fieldset, false);
     $view_model->set('fleamarket', $this->fleamarket, false);
     $view_model->set('user', $this->login_user, false);
     $view_model->set('item_categories', \Model_Entry::getItemCategories(), false);
     $view_model->set('item_genres', \Model_Entry::getItemGenres(), false);
     $view_model->set('has_empty_booth', $has_empty_booth, false);
     $view_model->set('can_reserve', $can_reserve, false);
     $this->template->content = $view_model;
 }
echo e($entry_styles[$fleamarket_entry_style->entry_style_id]);
?>
</div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">ブース数</label>
          <div class="col-sm-10"><?php 
echo e($input['reserved_booth']);
?>
</div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">出品予定品目</label>
          <div class="col-sm-10">
            <p><?php 
$item_category_define = \Model_Entry::getItemCategories();
echo e($item_category_define[$input['item_category']]);
?>
</p>
            <ul><?php 
$item_genres_define = \Model_Entry::getItemGenres();
foreach ($input['item_genres'] as $item_genre) {
    echo '<li>' . e($item_genres_define[$item_genre]) . "</li>";
}
?>
</ul>
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">このフリマをどこで知りましたか</label>
          <div class="col-sm-10"><?php