diff --git a/assets/css/pages/groups/pages/settings.css b/assets/css/pages/groups/pages/settings.css index e4d4c6e0..db01b751 100644 --- a/assets/css/pages/groups/pages/settings.css +++ b/assets/css/pages/groups/pages/settings.css @@ -15,6 +15,12 @@ margin-bottom: 15px; } +.group-settings-container .separated-block { + margin-top: 25px; + margin-bottom: 30px; + display: block; +} + .group-settings-container .submit-button-container { text-align: center; } diff --git a/assets/js/pages/groups/pages/settings.js b/assets/js/pages/groups/pages/settings.js index 3aa543ef..cb108528 100644 --- a/assets/js/pages/groups/pages/settings.js +++ b/assets/js/pages/groups/pages/settings.js @@ -121,16 +121,17 @@ ComunicWeb.pages.groups.pages.settings = { - //Group visibility - createElem2({ - appendTo: formContainer, - type: "label", - innerHTML: "Group visibility" - }); + //Group visibility var visibilityForm = createElem2({ type: "form", - appendTo: formContainer + appendTo: formContainer, + class: "separated-block" + }); + createElem2({ + appendTo: visibilityForm, + type: "label", + innerHTML: "Group visibility" }); //Open @@ -165,10 +166,12 @@ ComunicWeb.pages.groups.pages.settings = { + //Group registration levels var registrationLevelForm = createElem2({ appendTo: formContainer, type: "form", + class: "separated-block" }); createElem2({ appendTo: registrationLevelForm, @@ -189,7 +192,7 @@ ComunicWeb.pages.groups.pages.settings = { //Moderated createFormGroup({ target: registrationLevelForm, - label: "Moderated registration (anyone can request a membership, but a moderator must review the request)", + label: "Moderated registration (anyone can request a membership, but a moderator review the requests)", name: "group-registration-level", type: "radio", value: "moderated",