2018-05-23 18:03:11 +03:00
|
|
|
{{define "body"}}
|
|
|
|
<div class="row indent-top home">
|
|
|
|
<form class="tab-el-center" method="POST" id="save-crm" action="/create/">
|
2018-05-22 10:34:39 +03:00
|
|
|
<div id="msg"></div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="input-field col s12">
|
2018-06-01 12:08:22 +03:00
|
|
|
<input placeholder="CRM Url" id="api_url" name="api_url" type="text" class="validate"
|
|
|
|
{{if .Conn.APIURL}} value="{{.Conn.APIURL}}" {{end}}>
|
2018-05-22 10:34:39 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="input-field col s12">
|
|
|
|
<input placeholder="{{.Locale.ApiKey}}" id="api_key" name="api_key" type="text" class="validate">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2018-05-23 17:03:37 +03:00
|
|
|
<div class="input-field col s12 center-align">
|
|
|
|
<button class="btn waves-effect waves-light light-blue darken-1" type="submit" name="action">
|
2018-05-25 18:09:38 +03:00
|
|
|
{{.Locale.ButtonSave}}
|
2018-05-22 10:34:39 +03:00
|
|
|
<i class="material-icons right">sync</i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2018-05-23 18:03:11 +03:00
|
|
|
{{end}}
|