“komentowanie html.erb” Kod odpowiedzi

komentowanie html.erb

<%# 
    if flash[:myErrors] then
      if flash[:myErrors].any? then
        if @post.id.nil? then
          if @myPost!=-1 then
            @post = @myPost 
          else 
            @post = Post.new 
          end 
        end 
      end 
    end 
 %>
Ugly Unicorn

komentowanie html.erb

comment out line:
<%# commented line %>

comment out block:
<% if false %>
  code to comment
<% end %>
Ugly Unicorn

Odpowiedzi podobne do “komentowanie html.erb”

Pytania podobne do “komentowanie html.erb”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu