Commit a522421815ac86076ef39ed7a28bc16566fbe474

Thomas de Grivel 2021-12-11T17:49:28

Public access ?

diff --git a/lib/kmxgit_web/templates/admin/repository/form.html.heex b/lib/kmxgit_web/templates/admin/repository/form.html.heex
index 8ebfafb..3a5ca6c 100644
--- a/lib/kmxgit_web/templates/admin/repository/form.html.heex
+++ b/lib/kmxgit_web/templates/admin/repository/form.html.heex
@@ -13,7 +13,7 @@
 
   <div class="mb-3 form-check">
     <%= checkbox f, :public_access, class: "form-check-input" %>
-    <%= label f, :public_access, class: "form-check-label" %>
+    <%= label f, :public_access, gettext("Public access ?"), class: "form-check-label" %>
     <%= error_tag f, :public_access %>
   </div>
 
diff --git a/lib/kmxgit_web/templates/repository/form.html.heex b/lib/kmxgit_web/templates/repository/form.html.heex
index eccf747..fcdced7 100644
--- a/lib/kmxgit_web/templates/repository/form.html.heex
+++ b/lib/kmxgit_web/templates/repository/form.html.heex
@@ -13,7 +13,7 @@
 
   <div class="mb-3 form-check">
     <%= checkbox f, :public_access, class: "form-check-input" %>
-    <%= label f, :public_access, class: "form-check-label" %>
+    <%= label f, :public_access, gettext("Public access ?"), class: "form-check-label" %>
     <%= error_tag f, :public_access %>
   </div>