debian-mirror-gitlab/app/views/shared/_commit_message_container.html.haml

17 lines
658 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.form-group.commit_message-group
2015-11-26 14:37:03 +05:30
- nonce = SecureRandom.hex
= label_tag "commit_message-#{nonce}", class: 'control-label' do
2015-04-26 12:48:37 +05:30
Commit message
.col-sm-10
.commit-message-container
.max-width-marker
= text_area_tag 'commit_message',
(params[:commit_message] || local_assigns[:text]),
2015-11-26 14:37:03 +05:30
class: 'form-control js-commit-message js-quick-submit', placeholder: local_assigns[:placeholder],
required: true, rows: (local_assigns[:rows] || 3),
id: "commit_message-#{nonce}"
2015-04-26 12:48:37 +05:30
- if local_assigns[:hint]
%p.hint
Try to keep the first line under 52 characters
and the others under 72.