diff --git a/hayamiki_lib b/hayamiki_lib index 974c856..a8e062d 160000 --- a/hayamiki_lib +++ b/hayamiki_lib @@ -1 +1 @@ -Subproject commit 974c8566fd29876100e5d7ffcfa3031246273447 +Subproject commit a8e062d5842b19e2b2226fe7dd3b7bf10a5dd9d7 diff --git a/src/generation/fields.anubis b/src/generation/fields.anubis index 86a009e..ac7def8 100644 --- a/src/generation/fields.anubis +++ b/src/generation/fields.anubis @@ -64,7 +64,7 @@ public define String text_field(_) then "string", color_field then "string", phone_field(_) then "string", - url_field then "String", + url_field then "string", email_field then "string" }. diff --git a/src/generation/vt_view.anubis b/src/generation/vt_view.anubis index ad539ad..ebe4237 100644 --- a/src/generation/vt_view.anubis +++ b/src/generation/vt_view.anubis @@ -78,7 +78,7 @@ define String password_field(min_size) then "password(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", text_field(txt_attr) then "text_area(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", color_field then "color(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", - phone_field(_) then "phone(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", + phone_field(phone_attr) then "phone(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(phone_attr)+", "+to_Anubis_source(help)+")", // mobile_field then "mobile_phone(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", url_field then "url(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", email_field then "email(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")" -- libgit2 0.21.4