Merge pull request #6278 from annando/fix-contact-edit

Fix: Contacts can now be edited again
This commit is contained in:
Hypolite Petovan 2018-12-18 08:02:49 -05:00 committed by GitHub
commit 091193ad64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,10 +45,8 @@
{{if $poll_enabled}}
<li><div id="contact-edit-last-update-text">{{$lastupdtext|escape}} <span id="contact-edit-last-updated">{{$last_update|escape}}</span></div>
{{if $poll_interval}}
<form id="contact-edit-poll-form" action="/contact/{{$contact_id}}" method="post">
<span id="contact-edit-poll-text">{{$updpub|escape}}</span> {{$poll_interval}}
<input class="btn btn-primary" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
</form>
<span id="contact-edit-poll-text">{{$updpub|escape}}</span> {{$poll_interval}}
<input class="btn btn-primary" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
{{/if}}
</li>
{{/if}}