Skip to content

Commit

Permalink
added support for pre-polulating text inputs on the ask question page,
Browse files Browse the repository at this point in the history
…closes #412
  • Loading branch information
albogdano committed Sep 29, 2023
1 parent 99d714e commit c73198f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ public String ask(HttpServletRequest req, Model model) {
model.addAttribute("includeGMapsScripts", utils.isNearMeFeatureEnabled());
model.addAttribute("includeEmojiPicker", true);
model.addAttribute("title", utils.getLang(req).get("posts.ask"));
model.addAttribute("draftQuestion", utils.populate(req, new Question(), "title", "body", "tags|,", "location", "space"));
return "base";
}

Expand Down

0 comments on commit c73198f

Please sign in to comment.