Skip to content

Commit

Permalink
タイトルとコンテンツの間に区切り線は不要
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Jun 21, 2016
1 parent b43c8f8 commit 48eb686
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions View/BbsArticles/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,18 @@ echo $this->NetCommonsHtml->css('/bbses/css/style.css');
</div>
</div>

<hr>

<?php if ($bbsArticles) : ?>
<?php foreach ($bbsArticles as $bbsArticle) : ?>
<?php echo $this->element('BbsArticles/index_bbs_article', array(
'bbsArticle' => $bbsArticle
)); ?>

<hr>
<?php endforeach; ?>

<?php echo $this->element('NetCommons.paginator'); ?>

<?php else : ?>
<?php echo __d('bbses', 'No article found.') ?>
<article>
<?php echo __d('bbses', 'No article found.') ?>
</article>
<?php endif; ?>
</div>

0 comments on commit 48eb686

Please sign in to comment.