Commit 2a78ae60eb128cc0590151721d6ee33e06942bf2
1 parent
358d7eff
Exists in
master
and in
4 other branches
WebEditor: commit message is required now
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/tree/edit.html.haml
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | .editor-commit-comment |
| 11 | 11 | = label_tag 'commit_message' do |
| 12 | 12 | %p.slead Commit message |
| 13 | - = text_area_tag 'commit_message' | |
| 13 | + = text_area_tag 'commit_message', '', :required => true | |
| 14 | 14 | .form-actions |
| 15 | 15 | = hidden_field_tag 'last_commit', @last_commit |
| 16 | 16 | = hidden_field_tag 'content', '', :id => :file_content | ... | ... |