Skip to content

Commit

Permalink
Dont use strong tags on branch form labels
Browse files Browse the repository at this point in the history
Using the strong tag on the form labels is not consitent
with the other forms and mixes up the hierarchy.
  • Loading branch information
krauselukas committed May 19, 2020
1 parent 6e8e927 commit e5b1109
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/api/app/views/webui/shared/_package_branch_form.html.haml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
- if show_project_field
.pt-2
%p
%strong Change Branch Destination
.form-group
%label{ for: 'target_project' }
%strong Branch project name
= text_field_tag 'target_project', target_project, size: 80, maxlength: 200, class: 'form-control'
%p
%strong Change the branch destination
.form-group
%label{ for: 'target_project' } Branch project name:
= text_field_tag 'target_project', target_project, size: 80, maxlength: 200, class: 'form-control'
.form-group
%label{ for: 'target_package' }
%strong Branch package name
%label{ for: 'target_package' } Branch package name:
= text_field_tag 'target_package', package.try(:name), size: 80, maxlength: 200, class: 'form-control'
.custom-control.custom-checkbox
= check_box_tag(:current_revision, false, false, class: 'custom-control-input')
Expand Down

0 comments on commit e5b1109

Please sign in to comment.