Sha256: a84dd3f33109e345b91d19ab24fd1f77c7b52283e5225370c02dfd6fda434e89

Contents?: true

Size: 1014 Bytes

Versions: 16

Compression:

Stored size: 1014 Bytes

Contents

- if contributors.authors.any?
  = "#{list_names(contributors.authors)}."
- if citation.url.present?
  %em
    %span>= link_to citation.title, citation.url
    = '.'
- else
  %em
    %span>= citation.title
    = '.'
- if contributors.editors.any?
  = "Edited by #{list_names(contributors.editors)}."
- if contributors.compilers.any?
  = "Compiled by #{list_names(contributors.compilers)}."
- if contributors.translators.any?
  = "Translated by #{list_names(contributors.translators)}."
- if citation.edition.present?
  = "#{citation.edition}."
- if citation.volume.present?
  = "#{citation.volume}."
- if citation.city.present?
  = "#{citation.city}:"
- if citation.publisher.present?
  = "#{citation.publisher},"
- if citation.year.present?
  = "#{citation.year}."
- if citation.media.present?
  = "#{citation.media.titleize}."
- if citation.series.present?
  = "#{citation.series}."
- if citation.published_at.present?
  = "#{citation.published_at.mla_date}."
- if citation.pages.present?
  = "#{citation.pages}"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
works_cited-0.1.16 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.15 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.14 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.13 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.11 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.10 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.9 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.8 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.7 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.6 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.5 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.4 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.3 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.2 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.1 app/views/works_cited/citation_types/citation/_interview.html.haml
works_cited-0.1.0 app/views/works_cited/citation_types/citation/_interview.html.haml