Permalink
Browse files

Add some more selectors which will make things display better in dial…

…ogs.
  • Loading branch information...
1 parent 8f77b0a commit e760a0229b107e29618e2a6dc7e6155ccacd7926 @parndt parndt committed Nov 9, 2009
View
@@ -1,10 +1,10 @@
Gem::Specification.new do |s|
s.name = %q{refinerycms}
- s.version = "0.9.5.4"
+ s.version = "0.9.5.5"
s.authors = ["Resolve Digital", "David Jones", "Philip Arndt"]
- s.date = %q{2009-11-05}
+ s.date = %q{2009-11-09}
s.description = %q{A beautiful open source Ruby on Rails content manager for small business. Easy to extend, easy to use, lightweight and all wrapped up in a super slick UI.}
s.summary = %q{A beautiful open source Ruby on Rails content manager for small business.}
@@ -34,7 +34,7 @@
</ul>
</div>
<div class='form-actions'>
- <%= f.submit 'Save' %>
+ <%= f.submit 'Save', :id => "submit_button" %>
or
<%= link_to "Cancel", admin_users_url, :title => "Cancelling will lose all changes you've made to this news item" %>
</div>
@@ -11,11 +11,9 @@
<%= f.file_field :uploaded_data %>
</div>
<div class='form-actions'>
- <%= f.submit (params[:dialog] ? 'Upload' : 'Save') %>
- <% unless params[:dialog] %>
+ <%= f.submit 'Save', :id => "submit_button" %>
or
<%= link_to "Cancel", admin_images_url, :title => "Cancelling will lose all changes you've made to this image", :class => 'close_dialog' %>
- <% end %>
</div>
<% if @thickbox %>
@@ -43,7 +43,7 @@
</tr>
</table>
<div class='form-actions'>
- <%= f.submit 'Save' %>
+ <%= f.submit 'Save', :id => "submit_button" %>
or
<%= link_to "Cancel", admin_inquiries_url, :title => "Cancelling will lose all changes you've made" %>
</div>
@@ -15,7 +15,7 @@
</p>
</div>
<div class='form-actions'>
- <%= f.submit 'Save' %>
+ <%= f.submit 'Save', :id => "submit_button" %>
or
<%= link_to "Cancel", admin_inquiries_url, :title => "Cancelling will lose all changes you've made" %>
</div>
@@ -16,7 +16,7 @@
</div>
<div class='form-actions'>
- <%= f.submit 'Save', :class => "wymupdate" %>
+ <%= f.submit 'Save', :id => "submit_button", :class => "wymupdate" %>
or
<%= link_to "Cancel", admin_news_items_url, :title => "Cancelling will lose all changes you've made to this news item" %>
</div>
@@ -123,9 +123,9 @@
<%= f.label :draft, "Save as Draft", :class => "stripped" %>
</div>
<div class='form-actions'>
- <%= f.submit 'Save', :class => "wymupdate" %>
+ <%= f.submit 'Save', :id => "submit_button", :class => "wymupdate" %>
or
- <%= link_to "Cancel", admin_pages_url, :title => "Cancelling will lose all changes you've made to this page"%>
+ <%= link_to "Cancel", admin_pages_url, :title => "Cancelling will lose all changes you've made to this page", :id => "cancel_button", :class => "close_dialog" %>
</div>
<div id='new_page_part_dialog' style='display: none'>
<div class='field'>
@@ -136,7 +136,7 @@
<div id='dialog-form-actions' class='form-actions'>
<%= f.submit 'Save', :id => "new_page_part_save" %>
or
- <%= link_to "Cancel", "#", :id => "new_page_part_cancel" %>
+ <%= link_to "Cancel", "#", :id => "new_page_part_cancel", :class => "close_dialog" %>
</div>
</div>
<% end %>
@@ -11,8 +11,8 @@
</div>
<% end -%>
<div class='form-actions'>
- <%%= f.submit 'Save', :class => "wymupdate" %>
+ <%%= f.submit 'Save', :id => "submit_button", :class => "wymupdate" %>
or
- <%%= link_to "Cancel", admin_<%= plural_name %>_url %>
+ <%%= link_to "Cancel", admin_<%= plural_name %>_url, :class => "close_dialog", :id => "cancel_button" %>
</div>
<%% end -%>
@@ -14,7 +14,7 @@
<%= f.text_area :value, :rows => 5, :cols => 100 %>
</div>
<div class='form-actions'>
- <%= f.submit 'Save' %>
+ <%= f.submit 'Save', :id => "submit_button" %>
or
<%= link_to "Cancel", admin_refinery_settings_url %>
</div>
@@ -11,8 +11,8 @@
<%= f.file_field :uploaded_data -%>
</div>
<div class='form-actions'>
- <%= f.submit 'Save' %>
+ <%= f.submit 'Save', :id => "submit_button" %>
or
- <%= link_to "Cancel", admin_resources_url, :title => "Cancelling will lose all changes you've made to this file" -%>
+ <%= link_to "Cancel", admin_resources_url, :title => "Cancelling will lose all changes you've made to this file", :class => "close_dialog" -%>
</div>
<% end -%>

0 comments on commit e760a02

Please sign in to comment.