Commit <3
This commit is contained in:
parent
905b6bbb53
commit
2f5594f82b
1 changed files with 3 additions and 3 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<% if subject.picture? %>
|
<% if subject.picture? %>
|
||||||
<div style="height:200px; width: 200px; -webkit-border-radius: 50%; border-radius: 50%; background: url('<%= subject.picture.url %>') 50% 50% no-repeat; background-size:cover; background-position: center center; loat:left; margin-right:15px;"></div>
|
<div style="height:200px; width: 200px; -webkit-border-radius: 50%; border-radius: 50%; background: url('<%= subject.picture.url %>') 50% 50% no-repeat; background-size:cover; background-position: center center; float:left; margin-right:15px;"></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div style="overflow:hidden;"><h2 class="subject-title"><%= link_to subject.title, subject %></h2>
|
<div style="overflow:hidden;"><h2 class="subject-title"><%= link_to subject.title, subject %></h2>
|
||||||
<p class="subject-presentation-text"><%= subject.presentation %></p>
|
<p class="subject-presentation-text"><%= subject.presentation %></p></div>
|
||||||
</div> </div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue