From 40ca91417364ea8a13076f5c3bf64d7058083670 Mon Sep 17 00:00:00 2001 From: Timur Sufiev Date: Fri, 26 Sep 2014 14:58:16 +0400 Subject: [PATCH] Refactor horizon/common/_modal_form.html template Template _modal_form.html has an identical header with _modal.html - thus it makes sense to inherit _modal_form.html from _modal.html to reduce duplication. Partially Implements: blueprint form-template-to-view Change-Id: Idf0c9b14712bc1c433cb6a5aef602d1820af915c --- horizon/templates/horizon/common/_modal.html | 11 ++- .../templates/horizon/common/_modal_form.html | 90 ++++++++----------- 2 files changed, 48 insertions(+), 53 deletions(-) diff --git a/horizon/templates/horizon/common/_modal.html b/horizon/templates/horizon/common/_modal.html index 788ab953b1..2435921a03 100644 --- a/horizon/templates/horizon/common/_modal.html +++ b/horizon/templates/horizon/common/_modal.html @@ -1,14 +1,21 @@ -