mirror of
https://github.com/friendica/friendica
synced 2025-09-05 22:05:26 +02:00
Add sortability to custom profile fields form
This commit is contained in:
parent
9bc78efe68
commit
cc007f715d
8 changed files with 61 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<fieldset>
|
||||
<legend>{{$profile_field.legend}}</legend>
|
||||
<fieldset data-id="{{$profile_field.id}}">
|
||||
<legend>≡ {{$profile_field.legend}}</legend>
|
||||
|
||||
<input type="hidden" name="profile_field_order[]" value="{{$profile_field.id}}">
|
||||
|
||||
|
|
|
@ -99,9 +99,11 @@
|
|||
|
||||
<h3>{{$lbl_custom_fields_section}}</h3>
|
||||
|
||||
<div id="profile-custom-fields">
|
||||
{{foreach $custom_fields as $custom_field}}
|
||||
{{include file="settings/profile/field/edit.tpl" profile_field=$custom_field}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
|
||||
<div class="profile-edit-submit-wrapper">
|
||||
<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue