Skip to content
Snippets Groups Projects
Commit 694df226 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Merge branch 'main' of github.com:osunyorg/admin

parents 762ab32d 4c35c0d5
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
target, target,
i; i;
setTimeout(function() { setTimeout(function() {
selectFields = document.getElementsByClassName("form-select"); selectFields = appElt.getElementsByClassName("form-select");
for (i = 0; i < selectFields.length; i += 1) { for (i = 0; i < selectFields.length; i += 1) {
target = selectFields[i]; target = selectFields[i];
target.removeAttribute('disabled'); target.removeAttribute('disabled');
......
<%= f.input :about_type, <%= f.input :about_type,
collection: Communication::Website.about_types, collection: f.object.class.about_types,
input_html: { data: { conditional: true }, id: "about_type" }, input_html: { data: { conditional: true }, id: "about_type" },
label_method: lambda { |object| label_method: lambda { |object|
I18n.t("#{i18n_key}#{object}") I18n.t("#{i18n_key}#{object}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment