-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix calendar widget using id instead of key for name
- Loading branch information
Showing
5 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/"> | ||
<input type="text" id="${w.compound_id}" name="${w.id}" class="${w.css_class}" value="${w.strdate}" py:attrs="w.attrs"/> | ||
<input type="text" value="${w.strdate}" py:attrs="w.attrs"/> | ||
<input type="button" id="${w.compound_id}_trigger" class="date_field_button" value="${w.button_text}" /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div> | ||
<input type="text" id="{{ w.compound_id }}" name="{{ w.name }}" class="{{ w.css_class or '' }}" value="{{ w.strdate or '' }}" /> | ||
<input type="text" {{ w.attrs|htmlbools|xmlattr }} value="{{ w.strdate or '' }}" /> | ||
<input type="button" id="{{ w.compound_id }}_trigger" class="date_field_button" value="{{ w.button_text }}" /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/"> | ||
<input type="text" id="${w.compound_id}" name="${w.id}" class="${w.css_class}" value="${w.strdate}" py:attrs="w.attrs"/> | ||
<div> | ||
<input type="text" value="${w.strdate}" py:attrs="w.attrs"/> | ||
<input type="button" id="${w.compound_id}_trigger" class="date_field_button" value="${w.button_text}" /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<%namespace name="tw" module="tw2.core.mako_util"/>\ | ||
<div> | ||
<input type="text" id="${w.compound_id}" name="${w.name}" class="${w.css_class or ''}" value="${w.strdate or ''}" /> | ||
<input type="text" ${tw.attrs(attrs=w.attrs)} value="${w.strdate or ''}" /> | ||
<input type="button" id="${w.compound_id}_trigger" class="date_field_button" value="${w.button_text}" /> | ||
</div>\ |