Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correction affichage des tags dans les comptes. Correction des vues.
- Loading branch information
Thomas NAUDIN
committed
Apr 10, 2014
1 parent
2c01a25
commit c7fd8f9
Showing
6 changed files
with
722 additions
and
42 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -80,4 +80,4 @@ pickle-email-*.html | |
/public/assets | ||
|
||
# Exuberant CTags | ||
tags | ||
./tags |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<%= render 'title', :locals => { :title => @title }%> | ||
|
||
<div class="container-fluid"> | ||
|
||
<table class="table table-bordered table-striped"> | ||
<thead> | ||
<tr> | ||
<th><center>#</center></th> | ||
<th><center>Nom</center></th> | ||
<th><center>Description</center></th> | ||
<th><center>Éditer</center></th> | ||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
<% @tags.each do |tag| %> | ||
<tr> | ||
<td><center><%= tag.id %></center></td> | ||
<td><center><%= tag.name %></center></td> | ||
<td><center><%= truncate(tag.description, :length => 75, :separator => ' ')%></center></td> | ||
<td><center><%= link_to image_tag("glyphicons/glyphicons_151_edit.png"), edit_tag_path(tag),{:title => "Éditer le tag", :class =>"btn"} %></center></td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
|
||
<br /> | ||
|
||
<%= paginate @tags %> | ||
|
||
</div> |
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 |
---|---|---|
@@ -1,31 +1,8 @@ | ||
<%= render 'title', :locals => { :title => @title }%> | ||
<% | ||
index = 'index' | ||
if @account | ||
index += '_when_account' | ||
end | ||
%> | ||
<div class="container-fluid"> | ||
|
||
<table class="table table-bordered table-striped"> | ||
<thead> | ||
<tr> | ||
<th><center>#</center></th> | ||
<th><center>Nom</center></th> | ||
<th><center>Description</center></th> | ||
<th><center>Éditer</center></th> | ||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
<% @tags.each do |tag| %> | ||
<tr> | ||
<td><center><%= tag.id %></center></td> | ||
<td><center><%= tag.name %></center></td> | ||
<td><center><%= truncate(tag.description, :length => 75, :separator => ' ')%></center></td> | ||
<td><center><%= link_to image_tag("glyphicons/glyphicons_151_edit.png"), edit_tag_path(tag),{:title => "Éditer le tag", :class =>"btn"} %></center></td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
|
||
<br /> | ||
|
||
<%= paginate @tags %> | ||
|
||
</div> | ||
<%= render partial: index %> |
Oops, something went wrong.