comparison app/views/pastes/show.html.erb @ 424:967233b26404

Fix styling for md size
author nanaya <me@myconan.net>
date Sat, 26 Sep 2015 03:56:24 +0900
parents bec47da9052a
children b2991317d4d7
comparison
equal deleted inserted replaced
423:ec413bbb4128 424:967233b26404
33 <div class="js-paste-md"></div> 33 <div class="js-paste-md"></div>
34 </div> 34 </div>
35 </div> 35 </div>
36 </div></div></div> 36 </div></div></div>
37 37
38 <div class="row"> 38 <div class="row"><div class="col-xs-12">
39 <%= form_for @paste, :method => :delete, :authenticity_token => false do |f| %> 39 <%= form_for @paste, :method => :delete, :authenticity_token => false do |f| %>
40 <div class="form-group <%= error_class f.object, :key %> col-sm-6"> 40 <div class="form-group form-group--narrow <%= error_class f.object, :key %>">
41 <div class="input-group"> 41 <div class="input-group">
42 <%= f.text_field :key, 42 <%= f.text_field :key,
43 :value => nil, 43 :value => nil,
44 :placeholder => t("pastes.new.deletion_key"), 44 :placeholder => t("pastes.new.deletion_key"),
45 :autofocus => f.object.errors.any?, 45 :autofocus => f.object.errors.any?,
50 <%= f.button t(".delete"), :class => "btn btn-danger" %> 50 <%= f.button t(".delete"), :class => "btn btn-danger" %>
51 </span> 51 </span>
52 </div> 52 </div>
53 </div> 53 </div>
54 <% end %> 54 <% end %>
55 </div> 55 </div></div>
56 56
57 <ul class="nav nav-pills paste-show__footer"> 57 <ul class="nav nav-pills paste-show__footer">
58 <li role="presentation"> 58 <li role="presentation">
59 <%= link_to t(".raw"), paste_path(@paste, :txt) %> 59 <%= link_to t(".raw"), paste_path(@paste, :txt) %>
60 </li> 60 </li>