summaryrefslogtreecommitdiff
path: root/templates/boards_edit_mini_inc.tpl
blob: 5b0a334cc23c576f2b3266f70df792a8d03b5653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{if $gBitUser->hasPermission('p_boards_link_content') && $gContent->mContentTypeGuid != $smarty.const.BITBOARD_CONTENT_TYPE_GUID}
{* {$gContent->mContentTypeGuid} *}
<div class="form-group">
	{formlabel label="Linked Board"}
	{forminput}
		{if $boardList}
			{if $smarty.post.preview}
				{html_options class="form-control" name="linked_board_cid" options=$boardList selected=$smarty.post.linked_board_cid}
			{else}
				{html_options class="form-control" name="linked_board_cid" options=$boardList selected=$boardInfo.board_content_id}
			{/if}
		{else}
			<em>{tr}No discussion boards have been created.{/tr}</em>
		{/if}
		{formhelp note="Comments added will appear on the selected message board."}
	{/forminput}
</div>
{/if}