changeset 2852:97f5909dabcc

small change to improve macro parameter names in basic layout.html
author RogerHaase <haaserd@gmail.com>
date Wed, 19 Nov 2014 12:01:56 -0700
parents 5a49eeb1f307
children 77d9fd0d6504
files MoinMoin/themes/basic/templates/layout.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/layout.html	Wed Nov 19 11:51:19 2014 -0700
+++ b/MoinMoin/themes/basic/templates/layout.html	Wed Nov 19 12:01:56 2014 -0700
@@ -49,9 +49,9 @@
 {% endmacro %}
 
 {# Helper macro to generate a search form #}
-{% macro make_search_form(klass, clas) %}
-    <div class="{{ klass }}">
-        <form class="{{ clas }}" action="{{ url_for('frontend.search') }}" method="get" role="search">
+{% macro make_search_form(div_class, form_class) %}
+    <div class="{{ div_class }}">
+        <form class="{{ form_class }}" action="{{ url_for('frontend.search') }}" method="get" role="search">
             <div class="input-group">
                 <input name='q' type="text" class="form-control" placeholder="Search ...">
                 <div class="input-group-btn">