This file contains hidden or 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
<div class="control-group <%= control_group_error(@model, :field_name) %>"> | |
<%= f.label :field_name, :class => "control-label" %> | |
<div class="controls"> | |
<%= f.text_field :field_name %> | |
<%= error_help_text(@model, :field_name) %> | |
</div> | |
</div> |
This file contains hidden or 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
render :text => params.inspect |
This file contains hidden or 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
<% [:notice, :error, :alert, :success].each do |level| %> | |
<% unless flash[level].blank? %> | |
<div class="alert alert-<%= flash_class(level) %>"> | |
<a class="close" href="#" data-dismiss="alert">×</a> | |
<%= flash[level] %> | |
</div> | |
<% end %> | |
<% end %> |
This file contains hidden or 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
{ | |
"auto_complete": true, | |
"check_for_rbenv": true, | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/RailsCasts Colour Scheme/RailsCastsColorScheme.tmTheme", | |
"default_encoding": "UTF-8", | |
"draw_white_space": "all", | |
"file_exclude_patterns": | |
[ | |
"*.pyc", |
NewerOlder