summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-04 21:26:23 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-04 21:26:23 -0400
commitfaf4db767165d199b14777cebc70a37812313f08 (patch)
tree57814885287b61457aeece73db72823564376436 /app
parentc79d2f61272aeb928e0a9545e421cf556feea99a (diff)
run generate.sh
Diffstat (limited to 'app')
-rw-r--r--app/views/simple_captcha/_simple_captcha.erb37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/views/simple_captcha/_simple_captcha.erb b/app/views/simple_captcha/_simple_captcha.erb
new file mode 100644
index 0000000..9968910
--- /dev/null
+++ b/app/views/simple_captcha/_simple_captcha.erb
@@ -0,0 +1,37 @@
+<style type="text/CSS">
+ .simple_captcha{border: 1px solid #ccc; padding: 5px !important;}
+ .simple_captcha,
+ .simple_captcha div{display: table;}
+ .simple_captcha .simple_captcha_field,
+ .simple_captcha .simple_captcha_image{
+ border: 1px solid #ccc;
+ margin: 0px 0px 2px 0px !important;
+ padding: 0px !important;
+ }
+ .simple_captcha .simple_captcha_image img{
+ margin: 0px !important;
+ padding: 0px !important;
+ width: 110px !important;
+ }
+ .simple_captcha .simple_captcha_label{font-size: 12px;}
+ .simple_captcha .simple_captcha_field input{
+ width: 150px !important;
+ font-size: 16px;
+ border: none;
+ background-color: #efefef;
+ }
+</style>
+
+<div class='simple_captcha'>
+ <div class='simple_captcha_image'>
+ <%= simple_captcha_options[:image] %>
+ </div>
+
+ <div class='simple_captcha_field'>
+ <%= simple_captcha_options[:field] %>
+ </div>
+
+ <div class='simple_captcha_label'>
+ <%= simple_captcha_options[:label] %>
+ </div>
+</div>