forked from bofh/fetsite
AutoCommit Mit Aug 19 22:03:03 CEST 2015
This commit is contained in:
@@ -52,9 +52,7 @@ m.save
|
||||
def ff_icon (name)
|
||||
content_tag("i","", class: "ficon "+name )
|
||||
end
|
||||
def fa_icon_stack(name1, name2)
|
||||
content_tag("span", content_tag("i","",class:"fa fa-stack-2x fa-"+name1)+ content_tag("i","",class:"fa fa-stack-1x fa-"+name2),class: "fa-stack fa-sm")
|
||||
end
|
||||
|
||||
def ffi1_list
|
||||
y=YAML.load_file("#{::Rails.root.to_s}/config/flatfeticon1.yml")
|
||||
y["ffi1"]
|
||||
@@ -152,7 +150,9 @@ end
|
||||
end
|
||||
raw(out)
|
||||
end
|
||||
|
||||
def li_tag(content)
|
||||
content_tag("li", content)
|
||||
end
|
||||
def meta_itemprop(itemprop, content)
|
||||
tag("meta", itemprop: itemprop, content: content)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user