From b0675aba922d680c2e9d5e0dc0337ac81d1ce086 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Fri, 4 Aug 2023 09:57:12 +0530 Subject: Refactor --- views/manage_feed.tpl | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'views') diff --git a/views/manage_feed.tpl b/views/manage_feed.tpl index a26c6bc..cdeaf98 100644 --- a/views/manage_feed.tpl +++ b/views/manage_feed.tpl @@ -15,17 +15,16 @@ - + - +
Title{{feed["title"]}}{{feed.title}}
Source{{feed["source"]}}{{feed.source}}
Tags - % tags = feed["tags"] - % for i, tag in enumerate(tags): + % for i, tag in enumerate(feed.tags): % if i > 0: {{", "}} % end @@ -35,21 +34,21 @@
- +
- +
- +
- % include("tag_input.tpl", input_name="tags", input_value=feed["serialised_tags"]) + % include("tag_input.tpl", input_name="tags", input_value=serialised_tags)

- +
% include("footer.tpl") -- cgit v1.2.3-57-g22cb