diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-26 22:49:32 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-26 22:49:32 -0400 |
commit | ae75b2ee4099448f89af0fc6eaa9c508f36df5ef (patch) | |
tree | 83edcfc5d2ca6d8add01140464b766e13be1d6c0 /app | |
parent | 9cc00aa5010ae18d2fa3abe60e357a417cf96ceb (diff) | |
download | gitlab-ce-ae75b2ee4099448f89af0fc6eaa9c508f36df5ef.tar.gz |
Remove requires-input from the Network Graph formrs-disables-submit-behavior
The "Begin with the selected commit" checkbox requires the submit button
to be enabled, even if the extended SHA1 input field is blank.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/network/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/network/show.html.haml b/app/views/projects/network/show.html.haml index 3d88f17de53..a88cf167511 100644 --- a/app/views/projects/network/show.html.haml +++ b/app/views/projects/network/show.html.haml @@ -2,8 +2,8 @@ = render "head" .project-network .controls - = form_tag namespace_project_network_path(@project.namespace, @project, @id), method: :get, class: 'form-inline network-form js-requires-input' do |f| - = text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: 'search-input form-control input-mx-250 search-sha', required: true + = form_tag namespace_project_network_path(@project.namespace, @project, @id), method: :get, class: 'form-inline network-form' do |f| + = text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: 'search-input form-control input-mx-250 search-sha' = button_tag class: 'btn btn-success' do = icon('search') .inline.prepend-left-20 |