Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created March 9, 2010 04:48
Show Gist options
  • Save slywalker/326203 to your computer and use it in GitHub Desktop.
Save slywalker/326203 to your computer and use it in GitHub Desktop.
diff --git a/workshop/views/posts/add.ctp b/workshop/views/posts/add.ctp
index fbc148d..f3c2886 100644
--- a/workshop/views/posts/add.ctp
+++ b/workshop/views/posts/add.ctp
@@ -6,7 +6,7 @@
echo $form->input('user_id');
echo $form->input('title');
echo $form->input('body');
- echo $form->input('Tag');
+ echo $form->input('Tag', array('multiple' => 'checkbox'));
?>
</fieldset>
<?php echo $form->end('Submit');?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment