Remove dependency on ImageMagick (replace with rsvg-convert)

This commit is contained in:
Omar Roth
2019-10-28 10:46:59 -04:00
parent 039cc30c07
commit 0f3c477ff3
4 changed files with 7 additions and 7 deletions

View File

@@ -43,7 +43,7 @@
<% case captcha_type when %>
<% when "image" %>
<% captcha = captcha.not_nil! %>
<img style="width:100%" src='<%= captcha[:question] %>'/>
<img style="width:50%" src='<%= captcha[:question] %>'/>
<% captcha[:tokens].each_with_index do |token, i| %>
<input type="hidden" name="token[<%= i %>]" value="<%= URI.encode_www_form(token) %>">
<% end %>