diff options
author | Sebastin Santy <sebastinssanty@gmail.com> | 2017-07-06 02:01:45 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 00:19:21 +0200 |
commit | 6f06744ccc95232300ee53ead82166e60c84351c (patch) | |
tree | 5ebf4ea1962a2a2ccfc7378e70e8fe4af8a588e2 /template/en/default/bug | |
parent | 37722eca39874bb6abdcd120e3e458bd62dea62b (diff) | |
download | bugzilla-6f06744ccc95232300ee53ead82166e60c84351c.tar.gz bugzilla-6f06744ccc95232300ee53ead82166e60c84351c.tar.xz |
Bug 1365345 - Modal Bug Entry Prototype
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/new_bug.html.tmpl | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/template/en/default/bug/new_bug.html.tmpl b/template/en/default/bug/new_bug.html.tmpl index dc64a9678..274064be3 100644 --- a/template/en/default/bug/new_bug.html.tmpl +++ b/template/en/default/bug/new_bug.html.tmpl @@ -9,12 +9,18 @@ [% title = BLOCK %]Enter [% terms.Bug %] [% END %] [% PROCESS bug_modal/common_header.html.tmpl title = title + jquery = [ "selectize" ] + jquery_css = [ "js/jquery/plugins/selectize/selectize.default.css" ] javascript_urls = ['extensions/BugModal/web/new_bug.js'] %] [% PROCESS global/header.html.tmpl %] <p>Coming Soon!</p> <p>This is a demonstration of a reusable comment component</p> +<form name="newbugform" id="newbugform" method="post" action="new_bug.cgi"> + +<input type="hidden" value="[% issue_hash_token(['new_bug']) FILTER html %]" name="token"> + [% WRAPPER bug_modal/module.html.tmpl title = "" %] @@ -25,6 +31,7 @@ field_type = constants.FIELD_TYPE_FREETEXT edit_only = 1 editable = 1 + required = 1 help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#short_desc" %] @@ -131,6 +138,27 @@ [% END %] [% END %] +[%# === tracking === %] + +[% WRAPPER bug_modal/module.html.tmpl + title = "Tracking" + subtitle = sub + collapsed = col +%] + [% WRAPPER fields_lhs %] + + [%# version %] + [% INCLUDE bug_modal/field.html.tmpl + field = bug_fields.version + field_type = constants.FIELD_TYPE_SINGLE_SELECT + help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#version" + edit_only = 1 + editable = 1 + %] + + [% END %] +[% END %] + [% BLOCK fields_lhs %] <div class="fields-lhs">[% content FILTER none %]</div> [% END %] @@ -153,5 +181,6 @@ %] <div style="display: none" id="xhr-error"></div> - +<button type="submit" id="commit-btn" class="create-btn major">Create New [% terms.Bug %]</button> +</form> [% PROCESS global/footer.html.tmpl %]
\ No newline at end of file |