Created
April 23, 2015 21:48
-
-
Save pencilcheck/c11a49f50831ed5cbdb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class='background-vms'> | |
<a class='btn btn-default' e-click='search'>Show</a> | |
{{ if searched }} | |
<ul class='search-results'> | |
<!--{{ _results.each do |item| }}--> | |
<li> | |
<img src='assets/images/card.png' /> | |
</li> | |
<!--{{ end }}--> | |
<ul> | |
{{ end }} | |
</div> | |
module Main | |
class MainController < Volt::ModelController | |
model :page | |
reactive_accessor :searched | |
def search | |
searched = true | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same as the next issue.