-
Notifications
You must be signed in to change notification settings - Fork 24
/
edit.tpl
38 lines (35 loc) · 1.13 KB
/
edit.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{*
* Copyright (c) 2007-2008 OIC Group, Inc.
* Written and Designed by Adam Kessler
*
* This file is part of Exponent
*
* Exponent is free software; you can redistribute
* it and/or modify it under the terms of the GNU
* General Public License as published by the Free
* Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* GPL: http://www.gnu.org/licenses/gpl.txt
*
*}
<div class="exptag edit">
<div class="form_header">
<h1>Edit Tags</h1>
<p>Add new tags to this tag collection</p>
</div>
{if $record->id == ""}
{assign var=action value=create}
{else}
{assign var=action value=update}
{/if}
{form controller=expTag action=$action}
{control type=hidden name=id value=$record->id}
{control type=hidden name=tag_collections_id value=$record->tag_collections_id}
{control type=hidden name=parent_id value=$record->parent_id}
{control type=hidden name=rgt value=$record->rgt}
{control type=hidden name=lft value=$record->lft}
{control type=text name=title label="Tag" value=$record->title}
{control type=buttongroup submit=Save cancel=Cancel}
{/form}
</div>