allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: Add required and placeholder
Date Mon, 10 Sep 2018 14:06:56 GMT
Repository: allura
Updated Branches:
  refs/heads/master eb46a49fb -> 20d3d4fa5


Add required and placeholder


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/20d3d4fa
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/20d3d4fa
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/20d3d4fa

Branch: refs/heads/master
Commit: 20d3d4fa5cd7da7862bba4dfa99c2af4a8fcc193
Parents: eb46a49
Author: Shalitha <shalithasuranga@gmail.com>
Authored: Sat Sep 8 18:35:11 2018 +0530
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Mon Sep 10 14:05:23 2018 +0000

----------------------------------------------------------------------
 ForgeLink/forgelink/link_main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/20d3d4fa/ForgeLink/forgelink/link_main.py
----------------------------------------------------------------------
diff --git a/ForgeLink/forgelink/link_main.py b/ForgeLink/forgelink/link_main.py
index 4b3ceb6..07238f1 100644
--- a/ForgeLink/forgelink/link_main.py
+++ b/ForgeLink/forgelink/link_main.py
@@ -58,7 +58,7 @@ class ForgeLinkApp(Application):
             label='External Url',
             help_text='URL to which you wish to link',
             validator=fev.URL(not_empty=True, add_http=True),
-            extra_attrs={'type': 'url'}),
+            extra_attrs={'type': 'url', 'required' : '', 'placeholder' : 'https://example.com'}),
     ]
     config_on_install = ['url']
     searchable = True


Mime
View raw message