diff mbox series

[layerindex-web] layerindex: fix edit layer vcs_subdir max length

Message ID 20240206185028.122325-1-tim.orling@konsulko.com
State New
Headers show
Series [layerindex-web] layerindex: fix edit layer vcs_subdir max length | expand

Commit Message

Tim Orling Feb. 6, 2024, 6:50 p.m. UTC
EditLayerForm was missed in the previous commit.

[YOCTO #15374]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 layerindex/forms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/layerindex/forms.py b/layerindex/forms.py
index 2cb9b52..10acb88 100644
--- a/layerindex/forms.py
+++ b/layerindex/forms.py
@@ -75,7 +75,7 @@  LayerMaintainerFormSet = inlineformset_factory(LayerBranch, LayerMaintainer, for
 
 class EditLayerForm(StyledModelForm):
     # Additional form fields
-    vcs_subdir = forms.CharField(label='Repository subdirectory', max_length=40, required=False, help_text='Subdirectory within the repository where the layer is located, if not in the root (usually only used if the repository contains more than one layer)')
+    vcs_subdir = forms.CharField(label='Repository subdirectory', max_length=60, required=False, help_text='Subdirectory within the repository where the layer is located, if not in the root (usually only used if the repository contains more than one layer)')
     actual_branch = forms.CharField(label='Actual branch', max_length=80, required=False, help_text='Name of the actual branch in the repository matching the core branch (e.g. the development branch is "master" by default)')
     deps = forms.ModelMultipleChoiceField(label='Other layers this layer depends upon', queryset=LayerItem.objects.filter(comparison=False), required=False)
     captcha = CaptchaField(label='Verification', help_text='Please enter the letters displayed for verification purposes', error_messages={'invalid':'Incorrect entry, please try again'})