You will be sent back to last page after saving your bookmark.
Please enter a correct valid title and url
Add Bookmark
= $form->create('Homes',array('controller' => 'homes', 'action' => 'createBookmarkletForm', 'class' => 'form', 'name' => 'form')); ?>
= $form->hidden('Link.user_id', array('maxlength' => '50', 'value' => $data['userId']));?>
= $form->hidden('Link.cluster', array('maxlength' => '50', 'id' => 'clusterIdInput'));?>
= $form->hidden('Link.saveTo', array('maxlength' => '50', 'id' => 'saveToId'));?>
= $form->label('title', 'Title: ') ?>
=
$form->input('Link.title', array(
'type'=>'text',
'placement'=>array(1=>'input'),
'label'=>false,
'value' => trim($data['title']),
'class' => 'siteTitle bookmarkInput',
'style' => 'width:400px;'
)); ?>
= $form->label('url', 'Url: ') ?>
= $form->input('Link.url', array(
'type'=>'text',
'placement'=>array(1=>'input'),
'label'=>false,
'value' => $data['url'],
'class' => 'siteUrl bookmarkInput',
'style' => 'width:400px;'
));?>
=
$form->textarea('Link.note', array(
'type'=>'text',
'placement'=>array(1=>'input'),
'label'=>false,
'value' => '',
'class' => 'notes bookmarkInput',
'style' => 'width:400px;height:90px;color:grey;font-style:italic;',
'value' =>'(Optional)',
'id' =>'notes',
'onFocus' =>"document.getElementById('notes').value='';document.getElementById('notes').style.fontStyle='normal';document.getElementById('notes').style.color='black';"
)); ?>
Do not store passwords or confidential data in notes.