diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-05-26 12:16:33 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-05-26 12:16:33 +0200 |
commit | 9ee26e1077a52fcbdab5929186e7d118f834d269 (patch) | |
tree | f27596b6d935567637b43a509a859540c9635e79 /ratatoeskr/templates/src/systemtemplates/sections.html | |
parent | d38cba8d577b67e68fe1558ea72fa6b19c9ca505 (diff) | |
download | ratatoeskr-cms-9ee26e1077a52fcbdab5929186e7d118f834d269.tar.gz ratatoeskr-cms-9ee26e1077a52fcbdab5929186e7d118f834d269.tar.bz2 ratatoeskr-cms-9ee26e1077a52fcbdab5929186e7d118f834d269.zip |
ste:default_delete_yesno introduces
This tag makes it a bit easier to write backend templates. It
automatically generates the typical dropdown + button combo for
mass-deleting entries.
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/sections.html')
-rw-r--r-- | ratatoeskr/templates/src/systemtemplates/sections.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/sections.html b/ratatoeskr/templates/src/systemtemplates/sections.html index b67563d..7ac3241 100644 --- a/ratatoeskr/templates/src/systemtemplates/sections.html +++ b/ratatoeskr/templates/src/systemtemplates/sections.html @@ -56,10 +56,7 @@ </tbody> </table> <div> - <input type="submit" name="delete" value="<ste:get_translation for='delete' />" /> <select name="really_delete"> - <option value="no" selected="selected"><ste:get_translation for="no" /></option> - <option value="yes"><ste:get_translation for="yes" /></option> - </select> + <ste:default_delete_yesno /> | <input type="submit" name="make_default" value="<ste:get_translation for='make_default' />" /> | |