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}} {{if $poll_enabled}}
<li><div id="contact-edit-last-update-text">{{$lastupdtext|escape}} <span id="contact-edit-last-updated">{{$last_update|escape}}</span></div> <li><div id="contact-edit-last-update-text">{{$lastupdtext|escape}} <span id="contact-edit-last-updated">{{$last_update|escape}}</span></div>
{{if $poll_interval}} {{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}} <span id="contact-edit-poll-text">{{$updpub|escape}}</span> {{$poll_interval}}
<input class="btn btn-primary" type="submit" name="submit" value="{{$submit|escape:'html'}}" /> <input class="btn btn-primary" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
</form>
{{/if}} {{/if}}
</li> </li>
{{/if}} {{/if}}