Make the decline button a real button
Make the decline button on the terms page a real form submit button and have the server redirect to the wiki as it's the only way to get something that will actually look the same as a button on all the different browsers.
This commit is contained in:
parent
d033a0f35d
commit
276c29cb31
4 changed files with 6 additions and 15 deletions
|
@ -39,8 +39,8 @@
|
|||
<%= hidden_field('user', 'pass_crypt') %>
|
||||
<%= hidden_field('user', 'pass_crypt_confirmation') %>
|
||||
<div class="left_right_line">
|
||||
<div class="left"><a class="looks_like_button" href="<%= t 'user.terms.exit_wiki' %>"><%= t 'user.terms.decline' %></a></div>
|
||||
<div class="right"><%= submit_tag(t('user.terms.button'), :class => 'float_right') %></div>
|
||||
<div class="left"><%= submit_tag(t('user.terms.decline'), :name => "decline") %></div>
|
||||
<div class="right"><%= submit_tag(t('user.terms.agree'), :name => "agree") %></div>
|
||||
</div>
|
||||
</p>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue