Skip to content

Commit

Permalink
feat: improve help text for rel field in ImageAdminForm for better cl…
Browse files Browse the repository at this point in the history
…arity
  • Loading branch information
drikusroor committed Nov 20, 2024
1 parent 512699a commit 4593994
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/image/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ class ImageAdminForm(forms.ModelForm):
max_length=255,
required=False,
initial="noreferrer",
help_text='The relationship attribute for the link (e.g., "nofollow" for SEO, '
'"noopener noreferrer" for security when linking to external sites)',
help_text='Choose "nofollow" to prevent search engines from following the link, "noopener" to ensure security when opening links in new tabs, or "noreferrer" for stricter privacy when linking to external sites.',
)

target = forms.ChoiceField(
Expand Down

0 comments on commit 4593994

Please sign in to comment.