git.fiddlerwoaroof.com
Raw Blame History
%article
  %h1 How is
  %div.restaurants.list-group
    - restaurants.each do |restaurant|
      %a.list-group-item{:href => "/?#{restaurant['short_name']}"}<
        %h3
          = "#{restaurant['restaurant_name']}?"
          %span.glyphicon.glyphicon-chevron-right{:href => "/", :title=>"Back"}
    - if not cur_user.nil?
      %a.list-group-item
        %form.form-horizontal.clearfix{:action => "/add/restaurant", :method => "post"}
          %div.form-group.col-xs-12
            %div.input-group
              %input.form-control{:type => "text", :name => "restaurant_name"}
              %span.input-group-btn
                %input.btn.btn-default{:type => "submit", :value=>"submit..."}