{layout @admin.html} {block content} {import forms.html}

{_'blog.update_comment'}

{include input, name: 'comment[name]', value: ($comment->name), maxlength: 100, required: true}
{include input, name: 'comment[email]', value: ($comment->email), maxlength: 100}
{include textarea, name: 'comment[body]', cols: 10, rows: 5, required: true, value: ($comment->body)|noescape}
{var $statuses = ['blog.pending'|translate, 'blog.approved'|translate, 'blog.spam'|translate]}
{include select, name: 'comment[status]', value: ($comment->status), options: $statuses}
{include input, name: 'save', value: ( 'save'|translate ), type: 'submit', class: 'ink-button green'} {('cancel'|translate|lower)} {('delete'|translate|lower)}
{/block}