-
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.
✨ feat: Astrologers | view: add astrologers proclaimed modal
- Loading branch information
1 parent
42031a2
commit 1ae8721
Showing
3 changed files
with
35 additions
and
10 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
6 changes: 4 additions & 2 deletions
6
heroesofddd_rails_application/app/views/heroes/astrologers/_week_symbol_modal.html.erb
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,8 +1,10 @@ | ||
<div id="week_symbol_modal" class="modal" data-controller="modal"> | ||
<div class="modal-content"> | ||
<div class="modal__content modal__border"> | ||
<p>Astrologers proclaim week of the <%= week_of.capitalize.gsub("_", " ") %>.</p> | ||
<p><%= week_of.capitalize.gsub("_", " ") %> growth +<%= growth %></p> | ||
<p>All dwellings increase population.</p> | ||
<button data-action="click->modal#close">Close</button> | ||
<button data-action="click->modal#close" class="modal__submit-button"> | ||
<%= image_tag "button_submit.png", alt: "Submit" %> | ||
</button> | ||
</div> | ||
</div> |