Project

General

Profile

« Previous | Next » 

Revision 676cb428

Added by Marc Dequènes over 15 years ago

  • ID 676cb4287e4a0318bd7fd51e706f6265c4d4a2ec

[fix] remove hardcoded submit label in display_standard_form_buttons() helper and propagate submit_label view variable to it

View differences:

app/views/admin/artwork_sizes/_form.rhtml
table.field :height, _("Height (cm):"), :text_field, :value => mm_to_cm(@artwork_size.height), :size => 5
table.field :width, _("Width (cm):"), :text_field, :value => mm_to_cm(@artwork_size.width), :size => 5
table.field :standard, _("Standard?"), :check_box
table.content display_standard_form_buttons
table.content display_standard_form_buttons(submit_label)
end
%>
<%

Also available in: Unified diff