forked from CircuitVerse/CircuitVerse
-
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
61c7cb5
commit 32ca202
Showing
3 changed files
with
33 additions
and
12 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div id="update-contest-modal" class="modal fade" role="dialog"> | ||
<div class="modal-dialog primary-modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header primary-modal-header"> | ||
<h4 class="modal-title">Update Contest Deadline</h4> | ||
<button type="button" class="close" data-dismiss="modal">×</button> | ||
</div> | ||
<%= form_with(url: update_contest_path(":contest_id"), method: :patch, local: true, id: 'update-contest-form') do |form| %> | ||
<div class="modal-body"> | ||
<div class="form-group"> | ||
<%= form.label :deadline, "New Deadline" %> | ||
<%= form.datetime_local_field :deadline, class: "form-control", id: "contest_deadline" %> | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<%= form.submit "Update Deadline", class: "btn btn-primary" %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,11 @@ def default( | |
description: "[email protected]" | ||
) | ||
render(SocialCardComponent.new( | ||
link_url: link_url, | ||
image_path: image_path, | ||
image_alt: image_alt, | ||
heading: heading, | ||
description: description | ||
)) | ||
link_url: link_url, | ||
image_path: image_path, | ||
image_alt: image_alt, | ||
heading: heading, | ||
description: description | ||
)) | ||
end | ||
end |
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