aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-12 14:44:27 -0800
committerfriendica <info@friendica.com>2014-02-12 14:44:27 -0800
commit2c1b366fdf18929e255a223bc88474b446eaafa8 (patch)
treee36958b9c48dd2812a8c85f0ffbbe5747d493403 /view/tpl
parent1ca85abf83d95eb49f9b7ffbbda5f01de40388e5 (diff)
downloadvolse-hubzilla-2c1b366fdf18929e255a223bc88474b446eaafa8.tar.gz
volse-hubzilla-2c1b366fdf18929e255a223bc88474b446eaafa8.tar.bz2
volse-hubzilla-2c1b366fdf18929e255a223bc88474b446eaafa8.zip
make activities optional for profile things, clean up the forms
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/thing_edit.tpl4
-rw-r--r--view/tpl/thing_input.tpl5
2 files changed, 9 insertions, 0 deletions
diff --git a/view/tpl/thing_edit.tpl b/view/tpl/thing_edit.tpl
index 8379c15ae..b170f152c 100644
--- a/view/tpl/thing_edit.tpl
+++ b/view/tpl/thing_edit.tpl
@@ -6,11 +6,13 @@
<div class="thing-profile-label">{{$profile_lbl}}</div>
<div class="thing-profile">{{$profile_select}}</div>
+<div class="thing-field-end"></div>
{{/if}}
<div class="thing-verb-label">{{$verb_lbl}}</div>
<div class="thing-verb">{{$verb_select}}</div>
+<div class="thing-field-end"></div>
<label class="thing-label" for="thing-term">{{$thing_lbl}}</label>
@@ -23,6 +25,8 @@
<input type="text" class="thing-input" id="thing-img" name="img" value="{{$imgurl}}" />
<div class="thing-field-end"></div>
+{{include file="field_checkbox.tpl" field=$activity}}
+
<div class="thing-end"></div>
<input type="submit" class="thing-submit" name="submit" value="{{$submit}}" />
diff --git a/view/tpl/thing_input.tpl b/view/tpl/thing_input.tpl
index 06cbfe917..e93a1aa65 100644
--- a/view/tpl/thing_input.tpl
+++ b/view/tpl/thing_input.tpl
@@ -5,11 +5,14 @@
<div class="thing-profile-label">{{$profile_lbl}}</div>
<div class="thing-profile">{{$profile_select}}</div>
+<div class="thing-field-end"></div>
{{/if}}
+
<div class="thing-verb-label">{{$verb_lbl}}</div>
<div class="thing-verb">{{$verb_select}}</div>
+<div class="thing-field-end"></div>
<label class="thing-label" for="thing-term">{{$thing_lbl}}</label>
@@ -22,6 +25,8 @@
<input type="text" class="thing-input" id="thing-img" name="img" />
<div class="thing-field-end"></div>
+{{include file="field_checkbox.tpl" field=$activity}}
+
<div class="thing-end"></div>
<input type="submit" class="thing-submit" name="submit" value="{{$submit}}" />