Commit bd63f77542d01bb2edc3f4fd7fc5d162610b77b1
1 parent
269dc4a4
Exists in
master
and in
27 other branches
All instances of <% *_form_for ... %> changed to <%= instead of <%
Showing
57 changed files
with
57 additions
and
57 deletions
Show diff stats
app/views/account/_login_form.html.erb
app/views/account/forgot_password.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <%= error_messages_for :change_password, :header_message => _('Instructions to password recovery could not be sent'), :message => nil %> |
4 | 4 | |
5 | -<% labelled_form_for :change_password, @change_password, :url => { :action => 'forgot_password' } do |f| %> | |
5 | +<%= labelled_form_for :change_password, @change_password, :url => { :action => 'forgot_password' } do |f| %> | |
6 | 6 | |
7 | 7 | <%= f.text_field :login, |
8 | 8 | :onchange => 'this.value = convToValidLogin( this.value )' %> | ... | ... |
app/views/account/new_password.html.erb
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | |
7 | 7 | <%= error_messages_for :change_password %> |
8 | 8 | |
9 | -<% form_for(:change_password) do |f| %> | |
9 | +<%= form_for(:change_password) do |f| %> | |
10 | 10 | |
11 | 11 | <%= labelled_form_field(_('Enter new password'), (f.password_field :password)) %> |
12 | 12 | <%= labelled_form_field(_('Confirm the new password'), (f.password_field :password_confirmation)) %> | ... | ... |
app/views/admin_panel/message_for_disabled_enterprise.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <%= render :file => 'shared/tiny_mce' %> |
4 | 4 | |
5 | -<% labelled_form_for :environment, @environment, :url => {:action => 'site_info'} do |f| %> | |
5 | +<%= labelled_form_for :environment, @environment, :url => {:action => 'site_info'} do |f| %> | |
6 | 6 | |
7 | 7 | <%= f.text_area :message_for_disabled_enterprise, :cols => 40, :style => 'width: 90%' %> |
8 | 8 | ... | ... |
app/views/admin_panel/set_portal_news_amount.html.erb
1 | 1 | <h1><%= _('News amount by folder') %></h1> |
2 | 2 | |
3 | -<% labelled_form_for :environment, @environment do |f| %> | |
3 | +<%= labelled_form_for :environment, @environment do |f| %> | |
4 | 4 | |
5 | 5 | <%= labelled_form_field _('Number of news'), select(:environment, :news_amount_by_folder, (1..10).to_a) %> |
6 | 6 | ... | ... |
app/views/admin_panel/site_info.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | |
5 | 5 | <%= render :file => 'shared/tiny_mce' %> |
6 | 6 | |
7 | -<% labelled_form_for :environment, @environment, :url => {:host => @environment.default_hostname, :port => request.port} do |f| %> | |
7 | +<%= labelled_form_for :environment, @environment, :url => {:host => @environment.default_hostname, :port => request.port} do |f| %> | |
8 | 8 | <% tabs = [] %> |
9 | 9 | <% tabs << {:title => _('Site info'), :id => 'site-info', |
10 | 10 | :content => (render :partial => 'site_info', :locals => {:f => f})} %> | ... | ... |
app/views/categories/_form.html.erb
app/views/cms/destroy.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <%= error_messages_for 'article' %> |
4 | 4 | |
5 | -<% labelled_form_for 'article', @article, :url => { :action => 'destroy' }, :method => 'post' do |f| %> | |
5 | +<%= labelled_form_for 'article', @article, :url => { :action => 'destroy' }, :method => 'post' do |f| %> | |
6 | 6 | |
7 | 7 | <strong> |
8 | 8 | <% if @article.folder? %> | ... | ... |
app/views/cms/edit.html.erb
1 | 1 | <%= error_messages_for 'article' %> |
2 | 2 | |
3 | 3 | <div class='<%= (environment.enabled?('media_panel') ? 'with_media_panel' : 'no_media_panel') %>'> |
4 | -<% labelled_form_for 'article', @article, :html => { :multipart => true, :class => @type } do |f| %> | |
4 | +<%= labelled_form_for 'article', @article, :html => { :multipart => true, :class => @type } do |f| %> | |
5 | 5 | |
6 | 6 | <%= hidden_field_tag("type", @type) if @type %> |
7 | 7 | ... | ... |
app/views/cms/suggest_an_article.html.erb
app/views/cms/upload_files.html.erb
... | ... | @@ -19,6 +19,6 @@ |
19 | 19 | |
20 | 20 | <h5><%= _('Uploading files to %s') % content_tag('code', @target) %></h5> |
21 | 21 | |
22 | -<% form_for('uploaded_file', :url => { :action => 'upload_files' }, :html => {:multipart => true}) do |f| %> | |
22 | +<%= form_for('uploaded_file', :url => { :action => 'upload_files' }, :html => {:multipart => true}) do |f| %> | |
23 | 23 | <%= render :partial => 'upload_file_form', :locals => { :size => '45'} %> |
24 | 24 | <% end %> | ... | ... |
app/views/contact/new.html.erb
app/views/enterprise_registration/basic_information.html.erb
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | |
19 | 19 | <%= required_fields_message %> |
20 | 20 | |
21 | - <% labelled_form_for(:create_enterprise, @create_enterprise) do |f| %> | |
21 | + <%= labelled_form_for(:create_enterprise, @create_enterprise) do |f| %> | |
22 | 22 | <%= required f.text_field 'name', :onchange => "updateUrlField(this, 'create_enterprise_identifier')", :size => 40 %> |
23 | 23 | <%= required labelled_form_field(_('Address'), content_tag('code', environment.top_url + "/" + text_field(:create_enterprise, 'identifier', :size => 26))) %> |
24 | 24 | <%= render :partial => 'shared/organization_custom_fields', :locals => { :f => f, :object_name => :create_enterprise, :profile => @create_enterprise } %> | ... | ... |
app/views/enterprise_validation/edit_validation_info.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <%= error_messages_for :info %> |
4 | 4 | |
5 | -<% labelled_form_for :info, @info do |f| %> | |
5 | +<%= labelled_form_for :info, @info do |f| %> | |
6 | 6 | <%= f.text_area(:validation_methodology, :cols => 50, :rows => 10) %> |
7 | 7 | <%= f.text_area(:restrictions, :cols => 50, :rows => 7) %> |
8 | 8 | <% button_bar do %> | ... | ... |
app/views/environment_role_manager/change_role.html.erb
app/views/environment_role_manager/make_admin.html.erb
1 | 1 | <h2> <% _('Make new admin') %> </h2> |
2 | 2 | |
3 | -<% labelled_form_for :person, @person, :url => {:action => 'update_roles'} do |f| %> | |
3 | +<%= labelled_form_for :person, @person, :url => {:action => 'update_roles'} do |f| %> | |
4 | 4 | <%= _('Admin') %> <br> |
5 | 5 | <% @people.each do |p| %> |
6 | 6 | <%= labelled_form_field(p.name, (radio_button_tag "person", p.id)) %> | ... | ... |
app/views/features/_manage_community_fields.html.erb
1 | 1 | <h2><%= _('Manage community fields') %></h2> |
2 | 2 | |
3 | -<% labelled_form_for(:environment, @environment, :url => {:action => 'manage_community_fields'}) do |f| %> | |
3 | +<%= labelled_form_for(:environment, @environment, :url => {:action => 'manage_community_fields'}) do |f| %> | |
4 | 4 | |
5 | 5 | <table id='community_fields_conf'> |
6 | 6 | <tr> | ... | ... |
app/views/features/_manage_enterprise_fields.html.erb
1 | 1 | <h2><%= _('Manage enterprise fields') %></h2> |
2 | 2 | |
3 | -<% labelled_form_for(:environment, @environment, :url => {:action => 'manage_enterprise_fields'}) do |f| %> | |
3 | +<%= labelled_form_for(:environment, @environment, :url => {:action => 'manage_enterprise_fields'}) do |f| %> | |
4 | 4 | |
5 | 5 | <table id='enterprise_fields_conf'> |
6 | 6 | <tr> | ... | ... |
app/views/features/_manage_person_fields.html.erb
1 | 1 | <h2><%= _('Manage person fields') %></h2> |
2 | 2 | |
3 | -<% labelled_form_for(:environment, @environment, :url => {:action => 'manage_person_fields'}) do |f| %> | |
3 | +<%= labelled_form_for(:environment, @environment, :url => {:action => 'manage_person_fields'}) do |f| %> | |
4 | 4 | |
5 | 5 | <table id='person_fields_conf'> |
6 | 6 | <tr> | ... | ... |
app/views/features/index.html.erb
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | Check all the features you want to enable for your environment, uncheck all the ones you don\'t want, and use the <em>"Save changes" button</em> to confirm your changes.') %> |
9 | 9 | </p> |
10 | 10 | |
11 | -<% labelled_form_for(:environment, @environment, :url => {:action => 'update'}) do |f| %> | |
11 | +<%= labelled_form_for(:environment, @environment, :url => {:action => 'update'}) do |f| %> | |
12 | 12 | |
13 | 13 | <table> |
14 | 14 | <tr> | ... | ... |
app/views/licenses/_form.html.erb
1 | 1 | <%= error_messages_for :license %> |
2 | 2 | |
3 | -<% form_for :license, @license do |f| %> | |
3 | +<%= form_for :license, @license do |f| %> | |
4 | 4 | <%= hidden_field_tag(:license_id, params[:license_id]) %> |
5 | 5 | <%= required labelled_form_field(_('Name'), f.text_field(:name)) %> |
6 | 6 | <%= labelled_form_field(_('License url'), f.text_field(:url)) %> | ... | ... |
app/views/manage_products/_add_input.html.erb
app/views/manage_products/_edit_description.html.erb
1 | 1 | <%= render :file => 'shared/tiny_mce', :locals => {:mode => 'simple'} %> |
2 | -<% remote_form_for(@product, | |
2 | +<%= remote_form_for(@product, | |
3 | 3 | :loading => "small_loading('product-description-form')", |
4 | 4 | :before => ("tinyMCE.triggerSave()" unless Rails.env == 'test'), |
5 | 5 | :update => 'product-description', | ... | ... |
app/views/manage_products/_edit_image.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | <%= image_tag (@product.reload.default_image('thumb')), :class => 'product-pic' %> |
3 | 3 | </div> |
4 | 4 | |
5 | -<% form_for(:product, :url => { :controller => 'manage_products', :action => 'edit', :id => @product, :field => 'image' }, :html => { :method => 'post', :id => 'uploadForm', :multipart => true}) do |f| %> | |
5 | +<%= form_for(:product, :url => { :controller => 'manage_products', :action => 'edit', :id => @product, :field => 'image' }, :html => { :method => 'post', :id => 'uploadForm', :multipart => true}) do |f| %> | |
6 | 6 | <% f.fields_for :image_builder, @product.image do |i| %> |
7 | 7 | <%= i.file_field( :uploaded_data, { :size => 10 } ) %> |
8 | 8 | <p><%= _("Max size: %s (.jpg, .gif, .png)")% Image.max_size.to_humanreadable %></p> | ... | ... |
app/views/manage_products/_edit_info.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | <%= render_dialog_error_messages 'product' %> |
3 | 3 | <% end %> |
4 | 4 | |
5 | -<% remote_form_for(@product, | |
5 | +<%= remote_form_for(@product, | |
6 | 6 | :loading => "small_loading('product-info-form')", |
7 | 7 | :update => 'product-info', |
8 | 8 | :url => {:controller => 'manage_products', :action => 'edit', :id => @product, :field => 'info'}, | ... | ... |
app/views/manage_products/_edit_input.html.erb
1 | -<% form_for(@input, :url => {:controller => 'manage_products', :action => 'edit_input', :id => @input}, | |
1 | +<%= form_for(@input, :url => {:controller => 'manage_products', :action => 'edit_input', :id => @input}, | |
2 | 2 | :html => {:method => 'post', :id => "edit-input-#{ @input.id }-form"}) do |f| %> |
3 | 3 | |
4 | 4 | <%= hidden_field_tag 'input-bar-update-url', @input.product.price_composition_bar_display_url, :class => 'bar-update-url' %> | ... | ... |
app/views/manage_products/_edit_name.html.erb
app/views/manage_products/_form.html.erb
1 | 1 | <%= error_messages_for :product %> <br/> |
2 | 2 | |
3 | -<% form_for :product, @product, :html => {:multipart => true }, :url => {:action => mode} do |f| %> | |
3 | +<%= form_for :product, @product, :html => {:multipart => true }, :url => {:action => mode} do |f| %> | |
4 | 4 | <%= required_fields_message %> |
5 | 5 | |
6 | 6 | <%= display_form_field( _('Name:'), f.text_field(:name) ) %> | ... | ... |
app/views/manage_products/edit_category.html.erb
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | |
9 | 9 | <div id='request_result_message' style='display: none'></div> |
10 | 10 | |
11 | - <% remote_form_for(@product, | |
11 | + <%= remote_form_for(@product, | |
12 | 12 | :loading => "open_loading('#{ _('loading...') }')", |
13 | 13 | :update => "request_result_message", |
14 | 14 | :url => {:action => 'edit_category', :id => @product}, | ... | ... |
app/views/manage_products/new.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <div id='request_result_message' style='display: none'></div> |
4 | 4 | |
5 | -<% remote_form_for :product, @product, | |
5 | +<%= remote_form_for :product, @product, | |
6 | 6 | :loading => "open_loading('#{ _('loading...') }')", |
7 | 7 | :update => "request_result_message", |
8 | 8 | :url => {:action => 'new'}, | ... | ... |
app/views/maps/edit_location.html.erb
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <%= flash[:error] %> |
4 | 4 | </div> |
5 | 5 | |
6 | -<% form_for :profile_data, :url => {:action => 'edit_location'}, :html => {:id => 'location-form'} do |f| %> | |
6 | +<%= form_for :profile_data, :url => {:action => 'edit_location'}, :html => {:id => 'location-form'} do |f| %> | |
7 | 7 | |
8 | 8 | <div id='location-fields'> |
9 | 9 | <%= select_country _('Country'), 'profile_data', 'country', {:class => 'type-select'} %> | ... | ... |
app/views/memberships/new_community.html.erb
app/views/plugins/index.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | <%= _('Select which plugins you want to enable in your environment') %> |
5 | 5 | </p> |
6 | 6 | |
7 | -<% labelled_form_for(:environment, @environment, :url => {:action => 'update'}) do |f| %> | |
7 | +<%= labelled_form_for(:environment, @environment, :url => {:action => 'update'}) do |f| %> | |
8 | 8 | |
9 | 9 | <table> |
10 | 10 | <% @active_plugins.sort_by(&:plugin_name).each do |plugin| %> | ... | ... |
app/views/profile/report_abuse.html.erb
1 | -<% form_for @abuse_report, :url => {:action => 'register_report'}, | |
1 | +<%= form_for @abuse_report, :url => {:action => 'register_report'}, | |
2 | 2 | :html => {:onsubmit => "return send_request(this)", :id => 'report-abuse-form'} do |f| %> |
3 | 3 | <%= labelled_form_field('* ' + _('Report reasons'), f.text_area(:reason, :rows => 6, :cols => 60, :class => 'required')) %> |
4 | 4 | <%= hidden_field_tag(:content_type, params[:content_type]) %> | ... | ... |
app/views/profile/send_mail.html.erb
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | |
7 | 7 | <%= render :file => 'shared/tiny_mce' %> |
8 | 8 | |
9 | -<% form_for :mailing, :url => {:action => 'send_mail'}, :html => {:id => 'mailing-form'} do |f| %> | |
9 | +<%= form_for :mailing, :url => {:action => 'send_mail'}, :html => {:id => 'mailing-form'} do |f| %> | |
10 | 10 | <%= labelled_form_field(_('Subject:'), f.text_field(:subject)) %> |
11 | 11 | <%= labelled_form_field(_('Body:'), f.text_area(:body, :class => 'mceEditor')) %> |
12 | 12 | <%= submit_button(:send, _('Send')) %> | ... | ... |
app/views/profile_editor/edit.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <%= error_messages_for :profile %> |
4 | 4 | |
5 | -<% labelled_form_for :profile_data, @profile, :html => { :id => 'profile-data', :multipart => true } do |f| %> | |
5 | +<%= labelled_form_for :profile_data, @profile, :html => { :id => 'profile-data', :multipart => true } do |f| %> | |
6 | 6 | |
7 | 7 | <% if user.has_permission?('manage_environment_templates', profile.environment) %> |
8 | 8 | <div id="profile-is-template"> | ... | ... |
app/views/profile_members/change_role.html.erb
1 | 1 | <h3> <%= _('Changing role of %s') % @member.name %> </h3> |
2 | 2 | |
3 | -<% labelled_form_for :member, @member, :url => {:action => 'update_roles'} do |f| %> | |
3 | +<%= labelled_form_for :member, @member, :url => {:action => 'update_roles'} do |f| %> | |
4 | 4 | |
5 | 5 | <%= _('Roles:') %> <br> |
6 | 6 | <% @roles.each do |r| %> | ... | ... |
app/views/role/_form.html.erb
1 | 1 | <%= error_messages_for :role %> |
2 | 2 | |
3 | -<% labelled_form_for :role, role, :url => (mode == :edit) ? {:action => 'update', :id => role} : {:action => 'create'} do |f| %> | |
3 | +<%= labelled_form_for :role, role, :url => (mode == :edit) ? {:action => 'update', :id => role} : {:action => 'create'} do |f| %> | |
4 | 4 | |
5 | 5 | <%= required_fields_message %> |
6 | 6 | ... | ... |
app/views/tasks/new.html.erb
1 | 1 | <h1><%= @ticket.target ? _('New request for %s') % @ticket.target.name : _('New request') %></h1> |
2 | 2 | |
3 | 3 | <%# FIXME: put style in css %> |
4 | -<% labelled_form_for :ticket, @ticket do |f| %> | |
4 | +<%= labelled_form_for :ticket, @ticket do |f| %> | |
5 | 5 | <% if @ticket.target %> |
6 | 6 | <%= f.hidden_field :target_id %> |
7 | 7 | <% else %> | ... | ... |
app/views/users/send_mail.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | |
5 | 5 | <%= render :file => 'shared/tiny_mce' %> |
6 | 6 | |
7 | -<% form_for :mailing, :url => {:action => 'send_mail', :host => @environment.default_hostname} do |f| %> | |
7 | +<%= form_for :mailing, :url => {:action => 'send_mail', :host => @environment.default_hostname} do |f| %> | |
8 | 8 | <%= labelled_form_field(_('Subject:'), f.text_field(:subject)) %> |
9 | 9 | <%= labelled_form_field(_('Body:'), f.text_area(:body, :class => 'mceEditor')) %> |
10 | 10 | <%= submit_button(:send, _('Send')) %> | ... | ... |
plugins/anti_spam/views/anti_spam_plugin_admin/index.rhtml
plugins/bsc/views/bsc_plugin_admin/new.html.erb
1 | 1 | <%= error_messages_for :bsc %> |
2 | 2 | <h1><%= _('BSC registration') %></h1> |
3 | 3 | |
4 | -<% labelled_form_for :profile_data, @bsc do |f| %> | |
4 | +<%= labelled_form_for :profile_data, @bsc do |f| %> | |
5 | 5 | <%= render :partial => 'shared/fields', :locals => {:f => f, :profile => @bsc} %> |
6 | 6 | |
7 | 7 | <% button_bar do %> | ... | ... |
plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb
1 | 1 | <%= error_messages_for :contract %> |
2 | 2 | |
3 | -<% labelled_form_for :contract, @contract, :html => {:id => 'bsc-plugin-sales-form'} do |f| %> | |
3 | +<%= labelled_form_for :contract, @contract, :html => {:id => 'bsc-plugin-sales-form'} do |f| %> | |
4 | 4 | <%= hidden_field_tag :contract_id, @contract.id %> |
5 | 5 | <%= required f.text_field(:client_name) %> |
6 | 6 | <%= labelled_form_field(_('Client type'), f.select(:client_type, BscPlugin::Contract::ClientType.types.map{|type| [BscPlugin::Contract::ClientType.names[type], type]}))%> | ... | ... |
plugins/bsc/views/bsc_plugin_myprofile/create_enterprise.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | |
5 | 5 | <%= required_fields_message %> |
6 | 6 | |
7 | -<% labelled_form_for(:create_enterprise, @create_enterprise) do |f| %> | |
7 | +<%= labelled_form_for(:create_enterprise, @create_enterprise) do |f| %> | |
8 | 8 | |
9 | 9 | <%= required f.text_field 'name', :onchange => "updateUrlField(this, 'create_enterprise_identifier')", :size => 40 %> |
10 | 10 | <%= render :partial => 'shared/organization_custom_fields', :locals => { :f => f, :object_name => :create_enterprise, :profile => @create_enterprise } %> | ... | ... |
plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <%= error_messages_for :form %> |
4 | 4 | |
5 | -<% form_for :form, @form do |f| %> | |
5 | +<%= form_for :form, @form do |f| %> | |
6 | 6 | <%= required labelled_form_field _('Name'), f.text_field(:name) %> |
7 | 7 | <%= labelled_form_field(_('Period'), ( |
8 | 8 | date_range_field('form[begining]', 'form[ending]', @form.begining, @form.ending, | ... | ... |
plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | <% if @submission.id.nil? %> |
5 | 5 | <%= error_messages_for :submission %> |
6 | 6 | |
7 | - <% form_for :submission, @submission do |f| %> | |
7 | + <%= form_for :submission, @submission do |f| %> | |
8 | 8 | <% if !user %> |
9 | 9 | <%= required labelled_form_field _('Author name'), text_field_tag(:author_name, @submission.author_name) %> |
10 | 10 | <%= required labelled_form_field _('Author email'), text_field_tag(:author_email, @submission.author_email) %> | ... | ... |
plugins/mezuro/views/mezuro_plugin_myprofile/_edit_range.html.erb
1 | -<% remote_form_for :range, :url => {:action =>"update_range", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
1 | +<%= remote_form_for :range, :url => {:action =>"update_range", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
2 | 2 | <%= hidden_field_tag :beginning_id, beginning_id %> |
3 | 3 | <%= render :partial => "range_form", :locals => {:f => f, :metric_name => metric_name, :id => id, :beginning_id => beginning_id, :range => range } %> |
4 | 4 | <% end %> | ... | ... |
plugins/mezuro/views/mezuro_plugin_myprofile/_new_range.html.erb
1 | -<% remote_form_for :range, :url => {:action =>"create_range", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
1 | +<%= remote_form_for :range, :url => {:action =>"create_range", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
2 | 2 | <%= render :partial => "range_form", :locals => {:f => f, :metric_name => metric_name, :id => id } %> |
3 | 3 | <% end %> | ... | ... |
plugins/mezuro/views/mezuro_plugin_myprofile/edit_compound_metric_configuration.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | |
5 | 5 | <h2><%= @configuration_content.name %> Configuration</h2> |
6 | 6 | |
7 | -<% form_for :metric_configuration, :url => {:action =>"update_compound_metric_configuration", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
7 | +<%= form_for :metric_configuration, :url => {:action =>"update_compound_metric_configuration", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
8 | 8 | <%= hidden_field_tag :id, @configuration_content.id %> |
9 | 9 | <%= f.hidden_field :configuration_name, :value => @configuration_content.name %> |
10 | 10 | ... | ... |
plugins/mezuro/views/mezuro_plugin_myprofile/edit_metric_configuration.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | |
5 | 5 | <h2><%= @configuration_content.name %> Configuration</h2> |
6 | 6 | |
7 | -<% form_for :metric_configuration, :url => {:action =>"update_metric_configuration", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
7 | +<%= form_for :metric_configuration, :url => {:action =>"update_metric_configuration", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
8 | 8 | <%= hidden_field_tag :id, @configuration_content.id %> |
9 | 9 | <%= f.hidden_field :configuration_name, :value => @configuration_content.name %> |
10 | 10 | ... | ... |
plugins/mezuro/views/mezuro_plugin_myprofile/new_compound_metric_configuration.html.erb
1 | 1 | <h2><%= @configuration_content.name %> Configuration</h2> |
2 | 2 | |
3 | -<% form_for :metric_configuration, :url => {:action =>"create_compound_metric_configuration", | |
3 | +<%= form_for :metric_configuration, :url => {:action =>"create_compound_metric_configuration", | |
4 | 4 | :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> |
5 | 5 | <%= hidden_field_tag :id, @configuration_content.id %> |
6 | 6 | <%= f.hidden_field :configuration_name, :value => @configuration_content.name %> | ... | ... |
plugins/mezuro/views/mezuro_plugin_myprofile/new_metric_configuration.html.erb
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <h2><%= @configuration_content.name %> Configuration</h2> |
4 | 4 | |
5 | -<% form_for :metric_configuration, :url => {:action =>"create_metric_configuration", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
5 | +<%= form_for :metric_configuration, :url => {:action =>"create_metric_configuration", :controller => "mezuro_plugin_myprofile"}, :method => :get do |f| %> | |
6 | 6 | <%= hidden_field_tag :id, @configuration_content.id %> |
7 | 7 | <%= f.hidden_field :configuration_name, :value => @configuration_content.name %> |
8 | 8 | ... | ... |
plugins/send_email/views/send_email_plugin_admin/index.rhtml
1 | 1 | <h1><%= _("SendEmailPlugin's config") %></h1> |
2 | 2 | |
3 | -<% form_for :environment, :url => {:action => 'index'}, :html => {:method => 'post'} do |f| %> | |
3 | +<%= form_for :environment, :url => {:action => 'index'}, :html => {:method => 'post'} do |f| %> | |
4 | 4 | <%= labelled_form_field(_("E-Mail addresses you want to allow to send"), f.text_area(:send_email_plugin_allow_to, :rows => 8)) %> |
5 | 5 | <small><%= _('(list of email addresses separated by comma)') %></small> |
6 | 6 | <% button_bar do %> | ... | ... |
plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb
1 | 1 | <h1> <%= _('Basket options') %> </h1> |
2 | 2 | |
3 | -<% form_for(:profile_attr, profile, :url => {:action => 'edit'}, :html => {:method => 'post'}) do |f| %> | |
3 | +<%= form_for(:profile_attr, profile, :url => {:action => 'edit'}, :html => {:method => 'post'}) do |f| %> | |
4 | 4 | <%= labelled_form_field(_('Enabled?'), f.check_box(:shopping_cart)) %> |
5 | 5 | <%= labelled_form_field(_('Delivery?'), f.check_box(:shopping_cart_delivery)) %> |
6 | 6 | <%= labelled_form_field(_('Delivery price:'), f.text_field(:shopping_cart_delivery_price)) %> | ... | ... |
plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb
1 | 1 | <% person = user.nil? ? Person.new : user %> |
2 | 2 | <div id='cart-request-box'> |
3 | - <% form_for(:customer, person, :url => {:action => 'send_request'}, | |
3 | + <%= form_for(:customer, person, :url => {:action => 'send_request'}, | |
4 | 4 | :html => {:onsubmit => "return Cart.send_request(this)", :id => 'cart-request-form' }) do |f| %> |
5 | 5 | <div id="cart-form-main"> |
6 | 6 | <%= labelled_form_field('* ' + _("Name"), f.text_field(:name, :class => 'required') ) %> | ... | ... |
plugins/spaminator/views/spaminator_plugin_admin/index.rhtml
plugins/tolerance_time/views/tolerance_time_plugin_myprofile/index.html.erb