mirror of
https://github.com/friendica/friendica
synced 2025-09-04 15:56:06 +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}}">
|
||||
|
||||
|
|
|
@ -157,9 +157,11 @@
|
|||
</div>
|
||||
<div id="custom-fields-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="custom-fields">
|
||||
<div class="section-content-tools-wrapper">
|
||||
<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="form-group pull-right">
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue