Sha256: bb19c2923443f14b4bc7fc699571314fb1633c4511e74b9ccb812f8980f4c8ae

Contents?: true

Size: 727 Bytes

Versions: 27

Compression:

Stored size: 727 Bytes

Contents

:ruby
  html = HTML.new

:css
  .indent {
    margin-left: 2em;
    margin-right: 2em;
  }

= partial :header

.container
  %h1= @data["title"]
  %ul
    %li
      まえがき率
      = @introductions_ratio
      \%
    %li
      あとがき率
      = @postscripts_ratio
      \%
    %li
      %a{ href: "./setting#enable_author_comments" }
        まえがき・あとがき削除設定へ飛ぶ

  %table.table.table-striped
    - @comments.each do |comment|
      %tr
        %td
          %dl
            %dd= comment[:sub]["subtitle"]

            %dt まえがき
            %dd.indent= html.ln_to_br(comment[:introduction])

            %dt あとがき
            %dd.indent= html.ln_to_br(comment[:postscript])

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
narou-3.9.1 lib/web/views/novels/author_comments.haml
narou-3.9.0 lib/web/views/novels/author_comments.haml
narou-3.8.2 lib/web/views/novels/author_comments.haml
narou-3.8.1 lib/web/views/novels/author_comments.haml
narou-3.8.0 lib/web/views/novels/author_comments.haml
narou-3.7.2 lib/web/views/novels/author_comments.haml
narou-3.7.1 lib/web/views/novels/author_comments.haml
narou-3.7.0 lib/web/views/novels/author_comments.haml
narou-3.6.0 lib/web/views/novels/author_comments.haml
narou-3.5.1 lib/web/views/novels/author_comments.haml
narou-3.5.0.1 lib/web/views/novels/author_comments.haml
narou-3.5.0 lib/web/views/novels/author_comments.haml
narou-3.4.8 lib/web/views/novels/author_comments.haml
narou-3.4.7.1 lib/web/views/novels/author_comments.haml
narou-3.4.7 lib/web/views/novels/author_comments.haml
narou-3.4.6.1 lib/web/views/novels/author_comments.haml
narou-3.4.6 lib/web/views/novels/author_comments.haml
narou-3.4.5 lib/web/views/novels/author_comments.haml
narou-3.4.3 lib/web/views/novels/author_comments.haml
narou-3.4.2 lib/web/views/novels/author_comments.haml