2012-12-22 15:36:35 -05:00
|
|
|
{{ for $sites as $s }}
|
2012-12-25 15:25:09 -05:00
|
|
|
{{ inc field_input.tpl with $field=$s.sitename }}{{ endinc }}
|
|
|
|
{{ inc field_input.tpl with $field=$s.apiurl }}{{ endinc }}
|
|
|
|
{{ inc field_input.tpl with $field=$s.secret }}{{ endinc }}
|
|
|
|
{{ inc field_input.tpl with $field=$s.key }}{{ endinc }}
|
2012-12-22 15:36:35 -05:00
|
|
|
{{ if $s.delete }}
|
2012-12-25 15:25:09 -05:00
|
|
|
{{ inc field_checkbox.tpl with $field=$s.delete }}{{ endinc }}
|
2012-12-22 15:36:35 -05:00
|
|
|
<hr>
|
|
|
|
{{ else }}
|
|
|
|
<p>Fill this form to add a new site</p>
|
|
|
|
{{ endif }}
|
|
|
|
|
|
|
|
{{ endfor }}
|
|
|
|
|
|
|
|
|
|
|
|
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|