-
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
Showing
19 changed files
with
60,250 additions
and
19 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
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 |
---|---|---|
|
@@ -2,13 +2,27 @@ | |
%section | ||
%article.about | ||
.header= @post.title | ||
|
||
.photos | ||
= link_to 'https://www.facebook.com/dominika.jagiela?ref=ts&fref=ts' do | ||
.icon= image_tag 'fb-icon.png' | ||
- if @post.photos.any? | ||
.portrait= image_tag @post.photos.first.photo.url | ||
.icon#gmail | ||
= image_tag 'gmail-icon.png' | ||
.mail= '[email protected]' | ||
|
||
#map_photo | ||
= image_tag 'map.jpg' | ||
.desc | ||
= @post.desc.html_safe | ||
|
||
= link_to :back do | ||
.button.edit back | ||
- if current_user | ||
= link_to edit_post_path(@post) do | ||
.button.edit edit | ||
= link_to @post, method: 'delete', data: {confirm: 'Are you sure?'} do | ||
.button.edit destroy | ||
= link_to :back do | ||
.button.edit back | ||
- if current_user | ||
= link_to edit_post_path(@post) do | ||
.button.edit edit | ||
= link_to @post, method: 'delete', data: {confirm: 'Are you sure?'} do | ||
.button.edit destroy | ||
|
||
|
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
2 changes: 1 addition & 1 deletion
2
public/assets/.sprockets-manifest-f6af32e1c42b2a8d8895872f98009c43.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.