Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added module level options for fields to display and ordering of the
everyone view.
- Loading branch information
Doug Youch
committed
May 20, 2010
1 parent
6d7528f
commit 108b0b0
Showing
5 changed files
with
64 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<% admin_form_for :options, @options do |f| -%> | ||
<%= f.select :order_by, UserSegment.order_by_options %> | ||
<%= f.ordered_array :fields, UserSegment.fields_options, :label => 'Fields to Display' %> | ||
<%= f.spacer %> | ||
<%= f.cancel_submit_buttons 'Cancel', 'Save' %> | ||
<% end -%> |