diff --git a/app/views/layouts/_user.html.erb b/app/views/layouts/_user.html.erb new file mode 100644 index 0000000..357401c --- /dev/null +++ b/app/views/layouts/_user.html.erb @@ -0,0 +1,24 @@ +
+ + +
+ +
<%=_('Press Enter to send the search query.')%>
+ <%= javascript_tag 'jQuery("#user form input").hint();' %> +
+
diff --git a/app/views/layouts/application-ng.rhtml b/app/views/layouts/application-ng.rhtml index 69174b0..5afa648 100644 --- a/app/views/layouts/application-ng.rhtml +++ b/app/views/layouts/application-ng.rhtml @@ -37,31 +37,8 @@
<%= theme_header %>
-
-
- - -
- -
<%=_('Press Enter to send the search query.')%>
- <%= javascript_tag 'jQuery("#user form input").hint();' %> -
-
+
' + <%= render :partial => 'layouts/user' %>

<%= theme_site_title %> -- libgit2 0.21.2