-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#400 fix test assertion (text) in test/app_web/controllers/list_contr…
…oller_test.exs
- Loading branch information
Showing
6 changed files
with
64 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<.container> | ||
<.h2 class="text-center mt-3">Edit List</.h2> | ||
<h2 class="text-center mt-4 mb-4 text-4xl font-semibold leading-6 text-gray-900 clear-both"> | ||
<i>Edit</i> List | ||
</h2> | ||
|
||
<%= render( | ||
"form.html", | ||
Map.put(assigns, :action, Routes.list_path(@conn, :update, @list)) | ||
|> Map.put(:method, "patch") | ||
) %> | ||
|
||
<.a to={Routes.list_path(@conn, :index)} label="Back to lists" /> | ||
</.container> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
<.container> | ||
<.h2 class="text-center mt-3">New list</.h2> | ||
<h2 class="text-center mt-4 text-4xl font-semibold leading-6 text-gray-900 clear-both"> | ||
<i>New</i> List | ||
</h2> | ||
|
||
<div class="sm:flex-auto"> | ||
<p class="mt-4 text-sm text-gray-700 text-center sm:flex-auto"> | ||
Create a <b><i>New</i> <code>List</code></b> | ||
for a project or area you need to keep track of: | ||
</p> | ||
</div> | ||
|
||
<div class="mt-3 clear-both"> | ||
<%= render( | ||
"form.html", | ||
Map.put(assigns, :action, Routes.list_path(@conn, :create)) | ||
|> Map.put(:method, "post") | ||
) %> | ||
|
||
<.a to={Routes.list_path(@conn, :index)} label="Back to lists" /> | ||
</.container> | ||
</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