-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c45cf91
commit e2f1ded
Showing
8 changed files
with
130 additions
and
46 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
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,3 +1,3 @@ | ||
<div id="<%= dom_id list %>"> | ||
<p><%= list.title %></p> | ||
<%= list.title %> | ||
</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,12 +1,14 @@ | ||
<% content_for :title, "Editando lista" %> | ||
|
||
<h1>Editando lista</h1> | ||
|
||
<main id="new"> | ||
<%= render "form", list: @list %> | ||
|
||
<br> | ||
|
||
<div> | ||
<%= link_to "Acessar lista", @list %> | ||
<%= link_to "Voltar ao início", lists_path %> | ||
</main> | ||
<div class="links"> | ||
<%= link_to @list do %> | ||
<span class="material-symbols-outlined">visibility</span> Acessar lista | ||
<% end %> | ||
<%= link_to lists_path do %> | ||
<span class="material-symbols-outlined">home</span> Voltar ao início | ||
<% end %> | ||
</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,11 +1,11 @@ | ||
<% content_for :title, "Nova lista" %> | ||
|
||
<h1>Nova lista</h1> | ||
|
||
<main id="new"> | ||
<%= render "form", list: @list %> | ||
|
||
<br> | ||
|
||
<div> | ||
<%= link_to "Voltar ao início", lists_path %> | ||
</div> | ||
</main> | ||
<div class="links"> | ||
<%= link_to lists_path do %> | ||
<span class="material-symbols-outlined">home</span> Voltar ao início | ||
<% end %> | ||
</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