Commit c0f70850 authored by Penny Leach's avatar Penny Leach
Browse files

profile get mandatory fields now returns a hash fields => form elements

parent 131c22ad
......@@ -105,7 +105,10 @@ class ArtefactTypeProfile extends ArtefactType {
public static function get_mandatory_fields() {
return array('firstname', 'lastname', 'studentid', 'email');
return array('firstname' => 'text',
'lastname', => 'text',
'studentid' => 'text',
'email' => 'text');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment