Skip to content

Commit

Permalink
Fixed something. Honestly can't remember.
Browse files Browse the repository at this point in the history
  • Loading branch information
gorrillamcd committed Nov 3, 2012
1 parent bb782df commit 5ba5e8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/controllers/payments_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def create
if @payment.save_with_payment
redirect_to dashboard_url, :notice => "Thank you for Paying!"
else
flash[:error] = "There was a problem with processing your card."
render :action => 'new'
end
end
Expand Down
4 changes: 3 additions & 1 deletion app/views/users/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
<%= f.label :role, :html => {:class => "control-label" } %>
<div class="controls"><%= f.collection_select :role, User::ROLES, :to_s, :humanize %></div>

<%= f.button :submit, "Sign up", :class=>"btn btn-primary" %>
<%= button_tag(:class => "btn btn-primary") do %>
Submit
<% end %>
<%= link_to "Back", :back, :class => "btn" %>
</fieldset>
<% end %>
Expand Down

0 comments on commit 5ba5e8f

Please sign in to comment.