mv api_key_item fn...

This commit is contained in:
Paul Liverman III 2018-04-24 15:31:19 -07:00
parent 5e847adf1f
commit 147905b9d3

View File

@ -1,15 +1,15 @@
import Widget from require "lapis.html"
api_key_item = (key="") ->
li ->
div class: "row", ->
div class: "column column-80", ->
code key.key
div class: "column column-20", ->
button class: "delete", "x"
class LoggedIn extends Widget
content: =>
api_key_item = (key="") ->
li ->
div class: "row", ->
div class: "column column-80", ->
code key.key
div class: "column column-20", ->
button class: "delete", "x"
script -> raw "var API_KEY = '#{@keys[1].key}';"
script src: "/static/index.js"