aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-20 23:01:25 -0700
committerfriendica <info@friendica.com>2014-08-20 23:01:25 -0700
commitb4aed1212930e40377665dc45271f2b1f428511f (patch)
tree394e73b1ef775d7aaeefcb44792967ecd1279763 /view/tpl
parentaf45b34ee044966210e6101585fe362acf1ca098 (diff)
downloadvolse-hubzilla-b4aed1212930e40377665dc45271f2b1f428511f.tar.gz
volse-hubzilla-b4aed1212930e40377665dc45271f2b1f428511f.tar.bz2
volse-hubzilla-b4aed1212930e40377665dc45271f2b1f428511f.zip
extensible profiles - add the input form elements. Still needs styling and we're not yet storing the results. And right now we're ignoring the type and only doing type=string. Oh yeah - and I split off starting the second delivery chain into its own function in tag_deliver since it was largely duplicate code.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/profile_edit.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl
index 0e902e9e2..87582da56 100755
--- a/view/tpl/profile_edit.tpl
+++ b/view/tpl/profile_edit.tpl
@@ -349,6 +349,11 @@
<div id="education-jot-end"></div>
{{/if}}
+{{if $extra_fields}}
+{{foreach $extra_fields as $field }}
+{{include file="field_input.tpl" field=$field}}
+{{/foreach}}
+{{/if}}
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />