-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tags when creating or updating forum
- Loading branch information
1 parent
0192545
commit 30287a8
Showing
5 changed files
with
126 additions
and
0 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
51 changes: 51 additions & 0 deletions
51
lacommunaute/forum/tests/__snapshots__/test_forum_updateview.ambr
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# serializer version: 1 | ||
# name: test_selected_tags_are_preloaded[selected_tags_preloaded] | ||
''' | ||
<div class="form-group" id="div_id_tags"> | ||
|
||
|
||
<label class="control-label" for="id_tags"> | ||
Sélectionner un ou plusieurs tags | ||
|
||
<span class="text-muted">(optional)</span> | ||
|
||
</label> | ||
|
||
|
||
|
||
<div class="form-check form-check-inline"> | ||
<input checked="" class="form-check-input" id="id_tags_0" name="tags" type="checkbox" value="9999"/> | ||
<label class="form-check-label badge badge-sm rounded-pill bg-info-lighter text-info" for="id_tags_0"> | ||
iae | ||
</label> | ||
</div> | ||
|
||
<div class="form-check form-check-inline"> | ||
<input checked="" class="form-check-input" id="id_tags_1" name="tags" type="checkbox" value="10000"/> | ||
<label class="form-check-label badge badge-sm rounded-pill bg-info-lighter text-info" for="id_tags_1"> | ||
siae | ||
</label> | ||
</div> | ||
|
||
<div class="form-check form-check-inline"> | ||
<input checked="" class="form-check-input" id="id_tags_2" name="tags" type="checkbox" value="10001"/> | ||
<label class="form-check-label badge badge-sm rounded-pill bg-info-lighter text-info" for="id_tags_2"> | ||
prescripteur | ||
</label> | ||
</div> | ||
|
||
<div class="form-check form-check-inline"> | ||
<input class="form-check-input" id="id_tags_3" name="tags" type="checkbox" value="10002"/> | ||
<label class="form-check-label badge badge-sm rounded-pill bg-info-lighter text-info" for="id_tags_3"> | ||
undesired_tag | ||
</label> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
</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
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