README.textile in world-flags-0.2.0 vs README.textile in world-flags-0.2.1
- old
+ new
@@ -106,9 +106,13 @@
<li class="flag ar" lang="ar" title="Argentina"> </li>
Note: The ` is needed in order for the background (flag icon) to have something to be displayed against.
+The :title and :content can also be set to a string which is then displayed
+
+= flag :ar, :title => 'Argentina is the best', :content => 'Argh!'
+
To also get content rendered for the <li>
= flags [:ar, :br, :gb], :content => true
Note: There is also a #flag_selected? helper, which is (and/or can be) used to determine if the flag to be drawn should have the "selected" class set)