* Added ability to specify an empty_row value for tables
[django-tables2.git] / django_tables / templates / django_tables / table.html
index 21699bbfb6c62cd1df50308012a5ef4c932cd18d..5c2e854e71952523edf258b091f2f3715df37033 100644 (file)
                 <td>{{ cell }}</td>
             {% endfor %}
         </tr>
-               {% empty %}
-               {% if table.empty_text %}
-               <tr><td colspan="{{ table.columns|length }}">{{ table.empty_text }}</td></tr>
-               {% endif %}
+        {% empty %}
+        {% if table.empty_text %}
+        <tr><td colspan="{{ table.columns|length }}">{{ table.empty_text }}</td></tr>
+        {% endif %}
         {% endfor %}
     </tbody>
 </table>