%
import "Edit" #changes order files are loaded in
class Main < Iowa::Component
attr_accessor :strings, :tuple
def awake
@strings = []
60.times do
@strings << ["string 1", "hello world"] <<
["string 2", "goodnight moon"] <<
["string 3", "red balloon"]
end
end
end
%>
stringList : Repeat {
list = strings
item = tuple
}
edit {
name = tuple.0
text = tuple.1
}
?>