openvk/Web/Presenters/templates/Videos/Edit.xml

44 lines
1.4 KiB
XML
Raw Normal View History

2020-06-07 19:04:43 +03:00
{extends "../@layout.xml"}
{block title}Изменить видеозапись{/block}
{block header}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
2020-07-13 06:55:45 +03:00
»
<a href="/videos{$thisUser->getId()}">{_"videos"}</a>
»
<a href="/video{$video->getPrettyId()}">{_"video"}</a>
2020-07-13 06:55:45 +03:00
»
Изменить видеозапись
2020-06-07 19:04:43 +03:00
{/block}
{block content}
2020-07-13 06:55:45 +03:00
<div class="container_gray">
<h4>Изменить видеозапись</h4>
2020-06-07 19:04:43 +03:00
<form method="post" enctype="multipart/form-data">
2020-07-13 06:55:45 +03:00
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
2020-06-07 19:04:43 +03:00
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"name"}:</span></td>
<td>
<input type="text" value="{$video->getName()}" name="name" />
</td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"description"}:</span></td>
<td>
2020-07-13 06:55:45 +03:00
<textarea name="desc">{$video->getDescription()}</textarea>
2020-06-07 19:04:43 +03:00
</td>
</tr>
<tr>
<td width="120" valign="top"></td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="button" name="submit" value="{_'save'}" />
</td>
</tr>
</tbody>
</table>
</form>
2020-07-13 06:55:45 +03:00
</div>
2020-06-07 19:04:43 +03:00
{/block}