% layout 'default'; % title $valid_id ? "Flag Remark #$remark_id" : '?';

<%= title %>

<% if ($valid_id) { =%>
<% if (my $error = validation->error('captcha')) { =%>

Must be between <%= $error->[2] %> and <%= $error->[3] %> characters.

<% } =%> <%= label_for captcha => "Enter the word 'flag' to confirm:" %> <%= text_field captcha => id => 'captcha' %> <%= asset 'app.js' %>
<% } =%>