Skip to content

Commit

Permalink
improved token view
Browse files Browse the repository at this point in the history
  • Loading branch information
macool committed Feb 23, 2014
1 parent 0803c81 commit 40c8a58
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/bandangos.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
.bandango
display: block
.nombre

.token
white-space: pre
word-wrap: break-word
6 changes: 4 additions & 2 deletions app/views/bandangos/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@

<h3><%= @bandango.nombre %></h3>

token:
<code><%= @bandango.token %></code>
<div>
token:
<code class="token"><%= @bandango.token %></code>
</div>

<%= link_to "Editar", edit_business_bandango_path(@business, @bandango), :class => "btn btn-link" %>

Expand Down
6 changes: 4 additions & 2 deletions app/views/businesses/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
<section class="section">
<h3><%= @business.nombre %></h3>

token:
<code><%= @business.token %></code>
<div>
token:
<code class="token"><%= @business.token %></code>
</div>

<%= link_to "Editar", edit_business_path(@business), :class => "btn btn-link" %>
</section>
Expand Down

0 comments on commit 40c8a58

Please sign in to comment.