Skip to content

Commit

Permalink
Adding subgrids to fix layout of inputs in models
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Oct 9, 2024
1 parent 1f24d05 commit f41e1ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/org/computate/frFR/java/EcrirePageClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ public Boolean ecrireFormEntite(String langueNom, JsonObject langueConfig, ToutE
wForm.sx(entiteHtmLigneTitre);
wForm.l("</span>");
wForm.tl(7, "</div>");
wForm.tl(7, "<div>");
wForm.tl(7, "<div class=\"grid-with-subgrid-2col \">");
} else {
wForm.tl(7, "<div>");
wForm.tl(7, "<div class=\"grid-with-subgrid-2col \">");
}
// wForm.tl(8, "<table class=\"w3-table-all \">");
if(entiteHtmLigneTitre != null) {
Expand Down Expand Up @@ -229,9 +229,9 @@ public Boolean ecrireFormEntite(String langueNom, JsonObject langueConfig, ToutE
wForm.sx(entiteHtmLigneTitre);
wForm.l("</span>");
wForm.tl(7, "</div>");
wForm.tl(7, "<div>");
wForm.tl(7, "<div class=\"grid-with-subgrid-2col \">");
} else {
wForm.tl(7, "<div stuff=\"", entiteHtmLigneTitreAncien, "-", entiteHtmLigneTitreActuel, "\">");
wForm.tl(7, "<div class=\"grid-with-subgrid-2col \">");
}
entiteHtmLigneTitreActuelMap.put(classeApiMethodeMethode, entiteHtmLigneTitreActuel);
}
Expand Down Expand Up @@ -324,7 +324,7 @@ public void genCodeEntiteHtm(String langueNom, JsonObject langueConfig, String c
// tl(0, "{%- if ", langueConfig.getString(I18n.var_rolePourEcrire), "Bool == true %}");

tl(1, "{%- if 'Page' == ", langueConfig.getString(I18n.var_classeApiMethodeMethode), " %}");
tl(8, "<form id=\"", langueConfig.getString(I18n.var_Page), langueConfig.getString(I18n.var_Formulaire), "_", entiteVar, "\">");
tl(8, "<form class=\"subgrid-2col \" id=\"", langueConfig.getString(I18n.var_Page), langueConfig.getString(I18n.var_Formulaire), "_", entiteVar, "\">");
tl(1, "{%- endif %}");
if(entiteAttribuer) {
tl(1, "{%- if '", langueConfig.getString(I18n.var_PUTCopie), "' == ", langueConfig.getString(I18n.var_classeApiMethodeMethode), " %}");
Expand Down

0 comments on commit f41e1ef

Please sign in to comment.