Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

Commit

Permalink
Add key_field_as_attribute to postgis template
Browse files Browse the repository at this point in the history
  • Loading branch information
yhahn committed Oct 8, 2015
1 parent d32796e commit aad665e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/layerpostgis.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ <h3 class='fl'>
<input type='hidden' name='Datasource-type' value='postgis' />
<input type='hidden' name='Datasource-max_size' value='512' />
<input type='hidden' name='Datasource-srid' value='<%= obj.Datasource.srid %>' />
<input type='hidden' name='Datasource-key_field_as_attribute' value='<%= typeof obj.Datasource.key_field_as_attribute !== undefined ? obj.Datasource.key_field_as_attribute : 1 %>' />
</section>
<section class='clearfix pad2x pad1y keyline-bottom'>
<label class='pad0y col3 inline'>Extent </label>
Expand Down

0 comments on commit aad665e

Please sign in to comment.