From be0d789259019c406f923ad81b2307c78e0deedc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 28 Sep 2011 20:51:26 -0700 Subject: On the user index page, add field names to the bottom of the table, and a save botton to the top. --- src/views/pages/users/index.html.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/pages/users/index.html.php b/src/views/pages/users/index.html.php index ade4dea..c56d0b3 100644 --- a/src/views/pages/users/index.html.php +++ b/src/views/pages/users/index.html.php @@ -10,6 +10,9 @@ $t->paragraph($t->link($t->url('users.csv'), "Download this as a spreadsheet.")) $t->openTag('form', array('action'=>$t->url('users/index'), 'method'=>'post')); +$t->tag('input', array('type'=>'submit', + 'value'=>'Save/Update')); + $t->openTag('table'); $t->openTag('tr'); @@ -60,6 +63,13 @@ foreach ($users as $user) { $t->closeTag('tr'); } +$t->openTag('tr'); +foreach ($attribs as $attrib) { + $t->tag('th', array(), $attrib['name']); +} +$t->tag('th'); +$t->closeTag('tr'); + $t->closeTag('table'); $t->tag('input', array('type'=>'submit', -- cgit v1.2.3-2-g168b