diff options
Diffstat (limited to 'src/guff')
-rw-r--r-- | src/guff/views/ecrs/test/auth.ecr | 58 | ||||
-rw-r--r-- | src/guff/views/html/test/auth.cr | 2 |
2 files changed, 46 insertions, 14 deletions
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' /> + + <p id='project-edit-name-help' class='help-block'> + Name of project. + </p> </div><!-- form-group --> </div><!-- col-md-6 --> @@ -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' /> + + <p id='project-edit-slug-help' class='help-block'> + URL path component of project. + </p> </div><!-- form-group --> </div><!-- col-md-6 --> </div><!-- row --> <div class='form-group'> + <label for='project-edit-repo'> + Git Repository + </label> + + <input + type='text' + id='project-edit-repo' + class='form-control' + title='Enter project Git repository URL.' + placeholder='https://example.com/git/example-project.git' + aria-describedby='project-edit-repo-help' + /> + + <p id='project-edit-repo-help' class='help-block'> + URL of Git repository for this project. + </p> + </div><!-- form-group --> + + <div class='form-group'> <label for='project-edit-body'> - Body + Description </label> <textarea id='project-edit-body' class='form-control' + title='Description of this project.' rows='15' + aria-describedby='project-edit-body-help' ></textarea> + + <p id='project-edit-body-help' class='help-block'> + Description of this project. + </p> </div><!-- form-group --> <div class='form-group'> <div class='checkbox'> - <label for='project-edit-published'> + <label for='project-edit-visible'> <input type='checkbox' - id='project-edit-published' + id='project-edit-visible' + class='checkbox' title='Toggle visibility of this project.' - aria-describedby='project-edit-published-help' + aria-describedby='project-edit-visible-help' /> - - Published + Visible </label><!-- published --> </div><!-- checkbox --> - <p - id='project-edit-published-help' - class='help-block' - > - Is this project visible? + <p id='project-edit-visible-help' class='help-block'> + Is this project visible to site visitors? </p> </div><!-- form-group --> </div><!-- modal-body --> 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 <a href='#' class='btn btn-primary' - title='Choose post type.' + title='Show additonal options.' data-toggle='dropdown' > <span class='hidden'> |