From 28fb868b3c9b61d2a86784239d5cf1e4bacbeda4 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Apr 2016 23:34:52 -0400 Subject: add help blocks and repo to project editor --- src/guff/views/ecrs/test/auth.ecr | 58 ++++++++++++++++++++++++++++++--------- src/guff/views/html/test/auth.cr | 2 +- 2 files changed, 46 insertions(+), 14 deletions(-) (limited to 'src/guff') diff --git a/src/guff/views/ecrs/test/auth.ecr b/src/guff/views/ecrs/test/auth.ecr index 9c2353b..cba1b73 100644 --- a/src/guff/views/ecrs/test/auth.ecr +++ b/src/guff/views/ecrs/test/auth.ecr @@ -712,9 +712,14 @@ type='text' id='project-edit-name' class='form-control' - title='Enter name for project.' + title='Enter project name.' placeholder='Project Name' + aria-describedby='project-edit-name-help' /> + +

+ Name of project. +

@@ -728,44 +733,71 @@ type='text' id='project-edit-slug' class='form-control' - title='Enter slug for this project.' + title='Enter project slug.' placeholder='project-name' + aria-describedby='project-edit-slug-help' /> + +

+ URL path component of project. +

+
+ + + + +

+ URL of Git repository for this project. +

+
+
+ +

+ Description of this project. +

-
-

- Is this project visible? +

+ Is this project visible to site visitors?

diff --git a/src/guff/views/html/test/auth.cr b/src/guff/views/html/test/auth.cr index 429bdba..5c0d45b 100644 --- a/src/guff/views/html/test/auth.cr +++ b/src/guff/views/html/test/auth.cr @@ -54,7 +54,7 @@ class Guff::TestAuthHTMLView