Skip to content

Commit

Permalink
topic add hook params
Browse files Browse the repository at this point in the history
  • Loading branch information
Xmk committed Mar 21, 2017
1 parent 930cffc commit 64f7bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/frontend/components/topic/topic-add.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{component_define_params params=[ 'topic', 'type', 'skipBlogs', 'blogs', 'classes' ]}

<form action="" method="POST" enctype="multipart/form-data" id="topic-add-form" class="{$classes} js-form-validate" data-content-action="{( $topic ) ? 'edit' : 'add'}">
{hook run="form_add_topic_begin"}
{hook run="form_add_topic_begin" topic=$topic}
{block 'add_topic_form_begin'}{/block}

{* Выбор блога *}
Expand Down Expand Up @@ -158,7 +158,7 @@


{block 'add_topic_form_end'}{/block}
{hook run="form_add_topic_end"}
{hook run="form_add_topic_end" topic=$topic}


{* Скрытые поля *}
Expand Down

0 comments on commit 64f7bf3

Please sign in to comment.