Skip to content

@willawill /gist:4076771
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Haml indentation.
#asks
%h2= "ASKS"
-@campaign.asks.each do |ask|
=haml :ask, locals: {ask: ask, type: ask.class.typesym}
-if @campaign.asks.select{|n| n.triggered_ask && n.triggered_ask == ask}.empty?
%form{action: "/campaign/#{@campaign.id}/broadcast}", method: "post"}
%button{type: 'submit'} Launch the Ask
%form{action: "/campaign/#{@campaign.id}/add_new_ask", method: 'get'}
%button Add new ask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.