aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-12 18:47:01 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-29 19:49:13 +0200
commit84c29dd7f3fc64ea491f0342476f7bc31a20171f (patch)
tree6bd86e4dac5bc216de46c5e18569de8deeaf012d /app/views/taglibs/detailed.dryml
parentAllow project leads to add Project Acceptances easily (diff)
downloadrecruiting-webapp-84c29dd7f3fc64ea491f0342476f7bc31a20171f.tar.gz
recruiting-webapp-84c29dd7f3fc64ea491f0342476f7bc31a20171f.tar.bz2
recruiting-webapp-84c29dd7f3fc64ea491f0342476f7bc31a20171f.zip
Email questions
Also make sure users can answer questions with multiple and text content and can't answer email questions within application. Added "Gentoo-dev-announce posting" question to seed
Diffstat (limited to 'app/views/taglibs/detailed.dryml')
-rw-r--r--app/views/taglibs/detailed.dryml20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/taglibs/detailed.dryml b/app/views/taglibs/detailed.dryml
index f7df48e..ceb8dc9 100644
--- a/app/views/taglibs/detailed.dryml
+++ b/app/views/taglibs/detailed.dryml
@@ -50,3 +50,23 @@
</answer:>
</detailed>
</def>
+
+<def tag="detailed" for="EmailAnswer">
+ <h2>
+ Answer of
+ <with:owner><name/></with>
+ for question
+ "<with:question><name/></with>
+ <a action="edit" if="&can_edit?">(Edit)</a>
+ </h2>
+ <h5>Question:</h5>
+ <with:question><view:content/></with>
+
+ <h5>Answer:</h5>
+ <if:correct>
+ You sent proper email.
+ </if>
+ <else>
+ Email you sent didn't match requirements.
+ </else>
+</def>