Adds classes to several buttons so they don't look ugly

This commit is contained in:
kikito
2015-07-29 12:54:51 +02:00
parent 6a6804f73b
commit c71182f6a6
4 changed files with 7 additions and 7 deletions

View File

@@ -5,7 +5,7 @@
<%= f.text_area :body %>
<%= f.hidden_field :commentable_type, value: parent.class %>
<%= f.hidden_field :commentable_id, value: parent.id %>
<%= f.submit comment_button_text(parent), :class => "button radius" %>
<%= f.submit comment_button_text(parent), class: "button radius" %>
<% end %>
</div>

View File

@@ -33,7 +33,7 @@
<%= render 'shared/captcha' %>
<div class="actions">
<%= f.submit %>
<%= f.submit(class: "button radius") %>
</div>
<br/>
<% end %>
<% end %>

View File

@@ -5,11 +5,11 @@
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
<%= f.email_field :email, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
</div>
<div class="actions">
<%= f.submit "Resend confirmation instructions" %>
<%= f.submit "Resend confirmation instructions", class: "button radius" %>
</div>
<% end %>

View File

@@ -19,7 +19,7 @@
<% end -%>
<div class="actions">
<%= f.submit "Entrar" %>
<%= f.submit "Entrar", class: "button radius" %>
</div>
<% end %>