%article %h1 How is %ul.restaurants - restaurants.each do |restaurant| %a{:href => "/?#{restaurant['short_name']}"} %li= "#{restaurant['restaurant_name']}?" - if not cur_user.nil? %li %form{:action => "/add/restaurant", :method => "post"} %input{:type => "text", :name => "restaurant_name"} %input{:type => "submit"}