Skip to content

Commit

Permalink
okay, they both need IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Sep 2, 2016
1 parent d6b723e commit f905bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/color.moon
Expand Up @@ -17,7 +17,7 @@ class extends Widget
class: "pure-form"
}, ->
input style: "color: black;", type: "text", name: "name", id: "name", value: @hex
input type: "hidden", name: "code", value: @hex
input type: "hidden", name: "code", id: "code", value: @hex
br!
button class: "pure-button", onclick: "location.href = \"#{@build_url "colors/"}\" + document.getElementById('name').value; return false;", "Set"
text " "
Expand Down

0 comments on commit f905bcb

Please sign in to comment.