タグ

BPとdiyに関するkiyo_hikoのブックマーク (1)

  • Guides Application Helpers - Padrino Ruby Web Framework

    This component provides a great deal of view helpers related to html markup generation. There are helpers for generating tags, forms, links, images, and more. Most of the basic methods should be very familiar to anyone who has used rails view helpers. Output Helpers Output helpers are a collection of important methods for managing, capturing and displaying output in various ways and is used freque

    kiyo_hiko
    kiyo_hiko 2015/09/18
    タグ出力するとき単発ならtag、複合タグならcontent_tag+doブロックで得る。なおdoはprognだし複数子タグ持つhelper組むとき必ず+など結合し、全体で1式返すこと。html感覚で列挙しただけじゃ最後の子タグしか評価結果返らない
  • 1