diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-26 21:53:17 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-26 22:07:59 -0400 |
commit | f6503f71f994c50f12abfb29233259816006391a (patch) | |
tree | 95320efd5cfb9ee0f2ac434002bda636b9eed676 /app/views/projects/blob/new.html.haml | |
parent | e4472cee78c1904b801d25d51c14b557afc44816 (diff) | |
download | gitlab-ce-f6503f71f994c50f12abfb29233259816006391a.tar.gz |
Remove disableButtonIf[Any]EmptyField calls from forms
These have been replaced by the "requiresInput" behavior.
Diffstat (limited to 'app/views/projects/blob/new.html.haml')
-rw-r--r-- | app/views/projects/blob/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/new.html.haml b/app/views/projects/blob/new.html.haml index f7ddf74b4fc..7c2a4fece94 100644 --- a/app/views/projects/blob/new.html.haml +++ b/app/views/projects/blob/new.html.haml @@ -1,7 +1,7 @@ - page_title "New File", @ref %h3.page-title New file .file-editor - = form_tag(namespace_project_create_blob_path(@project.namespace, @project, @id), method: :post, class: 'form-horizontal form-new-file') do + = form_tag(namespace_project_create_blob_path(@project.namespace, @project, @id), method: :post, class: 'form-horizontal form-new-file js-requires-input') do = render 'projects/blob/editor', ref: @ref = render 'shared/commit_message_container', params: params, placeholder: 'Add new file' |