Skip to content

Commit

Permalink
Merge pull request tilemill-project#1908 from stevage/subquery-text
Browse files Browse the repository at this point in the history
Fix 'Table or subquery' formatting, add help text.
  • Loading branch information
Dane Springmeyer committed Apr 9, 2014
2 parents d612c07 + fefdd6a commit 3c9a74f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/Layer._
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ var connectionOptions = function(obj) {
<div class='browser sunken fill-s'></div>
</li>
<li>
<label for='table'><span class='required' title='This field is required'>*</span> Table or subquery</label>
<label for='table'><span class='required' title='This field is required'>*</span> Table or <br />subquery</label>
<div class='inline'>
<textarea name='Datasource.table' cols='68' rows='4'><%=Datasource.table%></textarea>
</div>
<small class='description'>Table name, or query like: <code>(select * from planet_osm_line where highway like 'path') as paths</code></small>

</li>
<li>
<label for='attachdb'>Attach DB</label>
Expand All @@ -119,10 +121,11 @@ var connectionOptions = function(obj) {
<div class='browser sunken fill-s'></div>
</li>
<li>
<label for='table'><span class='required' title='This field is required'>*</span> Table or subquery</label>
<label for='table'><span class='required' title='This field is required'>*</span> Table or<br /> subquery</label>
<div class='inline'>
<textarea name='Datasource.table' cols='68' rows='4'><%=Datasource.table%></textarea>
</div>
<small class='description'>Table name, or query like: <code>(select * from planet_osm_line where highway like 'path') as paths</code></small>
</li>
<li>
<label for='extent'>Unique key field</label>
Expand Down

0 comments on commit 3c9a74f

Please sign in to comment.