1 {% extends
"modal-base.html" %}
3 {% block id %}comment{% end block %}
4 {% block form_action %}/build/{{ build.uuid }}/comment{% end block %}
8 {{ _(
"Comment on %s") % build.name }}
10 {{ _(
"Log in to comment") }}
17 <div class=
"control-group">
18 <label class=
"control-label" for=
"cmttxt">{{ _(
"Comment") }}
</label>
19 <div class=
"controls">
20 <textarea class=
"input-xlarge" id=
"cmttxt" name=
"text" rows=
"8"></textarea>
24 {% if current_user.has_perm(
"vote") %}
25 <div class=
"control-group">
26 <label class=
"control-label">{{ _(
"Vote") }}
</label>
27 <div class=
"controls">
29 <input type=
"radio" name=
"vote" id=
"vote1" value=
"option1" checked
>
30 {{ _(
"Not tested.") }}
33 <input type=
"radio" name=
"vote" id=
"vote2" value=
"up">
34 {{ _(
"Works for me.") }}
37 <input type=
"radio" name=
"vote" id=
"vote3" value=
"down">
38 {{ _(
"Does not work.") }}
46 {{ _(
"You need to log in to comment.") }}
47 {{ _(
"Click on the button below to do so.") }}
54 <button type=
"submit" class=
"btn btn-primary">{{ _(
"Submit comment") }}
</button>
56 <a class=
"btn btn-primary" href=
"/login">{{ _(
"Login") }}
</a>
59 <a class=
"btn" href=
"#" data-dismiss=
"modal">{{ _(
"Cancel") }}
</a>