Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Haml indentation.
%h2= "ASKS"
-@campaign.asks.each do |ask|
=haml :ask, locals: {ask: ask, type: ask.class.typesym}
-if{|n| n.triggered_ask && n.triggered_ask == ask}.empty?
%form{action: "/campaign/#{}/broadcast}", method: "post"}
%button{type: 'submit'} Launch the Ask
%form{action: "/campaign/#{}/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.