diff --git a/codepot/src/codepot/controllers/project.php b/codepot/src/codepot/controllers/project.php index d4fd34da..82300072 100644 --- a/codepot/src/codepot/controllers/project.php +++ b/codepot/src/codepot/controllers/project.php @@ -206,10 +206,10 @@ class Project extends CI_Controller 'project_summary', 'summary', 'required|max_length[255]'); $this->form_validation->set_rules ( 'project_description', 'description', 'required'); - $this->form_validation->set_rules ( - 'project_webhooks', 'description', 'required'); //$this->form_validation->set_rules ( - // 'project_commitable', 'commitable', 'alpha'); + // 'project_webhooks', 'webhooks', 'required'); + $this->form_validation->set_rules ( + 'project_commitable', 'commitable', 'alpha'); $this->form_validation->set_rules ( 'project_public', 'public', 'alpha'); $this->form_validation->set_rules ( diff --git a/codepot/src/codepot/views/project_edit.php b/codepot/src/codepot/views/project_edit.php index 8ce30a35..de04ef51 100644 --- a/codepot/src/codepot/views/project_edit.php +++ b/codepot/src/codepot/views/project_edit.php @@ -130,11 +130,11 @@ $this->load->view ( 'rows' => 20, 'cols' => 80 ); - print form_textarea ($xdata); + print form_textarea($xdata); ?>
-j +
@@ -145,7 +145,7 @@ j 'name' => 'project_webhooks', 'value' => set_value ('project_webhooks', $project->webhooks), 'id' => 'project_edit_webhooks', - 'rows' => 20, + 'rows' => 5, 'cols' => 80 ); print form_textarea($xdata);