Skip to content

Commit

Permalink
- (Bug Fix) Wrapped the select element with a new div to make the sel…
Browse files Browse the repository at this point in the history
…ect box appear consistent with the all the other drop downs in Craft. Thanks @pixelandtonic for the suggestion!
  • Loading branch information
objectivehtml committed Sep 12, 2014
1 parent 6afaaf8 commit 517d616
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/js/app.compiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -9837,7 +9837,7 @@ function program5(depth0,data,depth1) {
+ escapeExpression(((stack1 = (depth1 && depth1.lng)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
+ "\n </p>\n </div>\n <div class=\"oh-google-map-small-4 oh-google-map-columns\">\n <label for=\"radius\">Radius</label>\n <input type=\"text\" name=\"radius\" id=\"radius\" value=\""
+ escapeExpression(((stack1 = (depth1 && depth1.radius)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
+ "\" class=\"text fullwidth\" />\n </div>\n <div class=\"oh-google-map-small-8 oh-google-map-columns\">\n <label for=\"metric\">Metric</label><br>\n <select name=\"metric\" id=\"metric\">\n <option value=\"feet\">Feet</option>\n <option value=\"miles\">Miles</option>\n <option value=\"meters\">Metres</option>\n <option value=\"kilometers\">Kilometres</option>\n </select>\n </div>\n </div>\n ";
+ "\" class=\"text fullwidth\" />\n </div>\n <div class=\"oh-google-map-small-8 oh-google-map-columns\">\n <label for=\"metric\">Metric</label><br>\n\n <div class=\"select\">\n <select name=\"metric\" id=\"metric\">\n <option value=\"feet\">Feet</option>\n <option value=\"miles\">Miles</option>\n <option value=\"meters\">Metres</option>\n <option value=\"kilometers\">Kilometres</option>\n </select>\n </div>\n </div>\n </div>\n ";
return buffer;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/js/app.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions resources/js/app/templates/circle-form.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,15 @@
</div>
<div class="oh-google-map-small-8 oh-google-map-columns">
<label for="metric">Metric</label><br>

<div class="select">
<select name="metric" id="metric">
<option value="feet">Feet</option>
<option value="miles">Miles</option>
<option value="meters">Metres</option>
<option value="kilometers">Kilometres</option>
</select>
</div>
</div>
</div>
{{/if}}
Expand Down
2 changes: 1 addition & 1 deletion resources/js/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function program5(depth0,data,depth1) {
+ escapeExpression(((stack1 = (depth1 && depth1.lng)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
+ "\n </p>\n </div>\n <div class=\"oh-google-map-small-4 oh-google-map-columns\">\n <label for=\"radius\">Radius</label>\n <input type=\"text\" name=\"radius\" id=\"radius\" value=\""
+ escapeExpression(((stack1 = (depth1 && depth1.radius)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
+ "\" class=\"text fullwidth\" />\n </div>\n <div class=\"oh-google-map-small-8 oh-google-map-columns\">\n <label for=\"metric\">Metric</label><br>\n <select name=\"metric\" id=\"metric\">\n <option value=\"feet\">Feet</option>\n <option value=\"miles\">Miles</option>\n <option value=\"meters\">Metres</option>\n <option value=\"kilometers\">Kilometres</option>\n </select>\n </div>\n </div>\n ";
+ "\" class=\"text fullwidth\" />\n </div>\n <div class=\"oh-google-map-small-8 oh-google-map-columns\">\n <label for=\"metric\">Metric</label><br>\n\n <div class=\"select\">\n <select name=\"metric\" id=\"metric\">\n <option value=\"feet\">Feet</option>\n <option value=\"miles\">Miles</option>\n <option value=\"meters\">Metres</option>\n <option value=\"kilometers\">Kilometres</option>\n </select>\n </div>\n </div>\n </div>\n ";
return buffer;
}

Expand Down

0 comments on commit 517d616

Please sign in to comment.