Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/documents/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<br>
<p class="text-xl">タグ:
<% @document.tags.each do |tag| %>
<%= link_to tag_label(tag), tag, class: "btn btn-primary btn-outline-primary btn-lg" %>
<%= link_to tag_label(tag), tag, class: "btn btn-primary btn-outline-primary" %>
<% end %>
</p>
<br>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_tag_list.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p class="fw-bold fs-4 mb-3">タグ一覧</p>
<div class="d-flex flex-wrap gap-1">
<% Tag.order_by_popularity.each do |tag| %>
<%= link_to tag_label(tag), tag, class: "btn btn-primary btn-outline-primary btn-lg" %>
<%= link_to tag_label(tag), tag, class: "btn btn-primary btn-outline-primary" %>
<% end %>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/tags/_tag.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="p-3 my-3 border rounded d-flex justify-content-between">
<div>
<p class="h4"><%= link_to tag.name, tag, class: "btn btn-primary btn-lg" %></p>
<p class="h4"><%= link_to tag.name, tag, class: "btn btn-primary" %></p>
<p>タスク数 : <%= tag.tasks.count %></p>
<p>文書数 : <%= tag.documents.count %></p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/tags/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div>
<p class="h5 fw-bold mb-2">タグ名</p>
<p class="h5 mb-2"><%= link_to @tag.name, @tag, class: "btn btn-lg btn-primary text-white" %></p>
<p class="h5 mb-2"><%= link_to @tag.name, @tag, class: "btn btn-primary text-white" %></p>
</div>

<div>
Expand Down