mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-05 00:57:59 +01:00
20 lines
494 B
Text
20 lines
494 B
Text
elixir:
|
|
options = [
|
|
"Applejack": 1,
|
|
"Fluttershy": 2,
|
|
"Pinkie Pie": 3,
|
|
"Rainbow Dash": 4,
|
|
"Rarity": 5,
|
|
"Twilight Sparkle": 6
|
|
]
|
|
|
|
div
|
|
= hidden_input :captcha, :id, value: @captcha.solution_id
|
|
img src="data:image/jpeg;base64,#{@captcha.image_base64}"
|
|
|
|
= for i <- (1..6) do
|
|
.field
|
|
label> for="captcha_sln[#{i}]"
|
|
| Name of pony with cutie mark #
|
|
= i
|
|
= select :captcha, "sln[#{i}]", options, class: "input", name: "captcha[sln][#{i}]"
|