Created
October 19, 2010 23:40
-
-
Save byrnejb/635423 to your computer and use it in GitHub Desktop.
_role_header.html.erb
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
<%- fields_for(role_header) do |ff| -%> | |
<div class="roles" id="roles_header"> | |
<fieldset style=".role_header label {display:block;}"> | |
<legend><em> role Header </em></legend> | |
<p> | |
<b> | |
<%= label role_header.class.to_s.downcase, | |
:rolename, | |
:'Role Name: ', | |
:class => :input_box_label, | |
:for => 'input_rolename' -%> | |
</b> <br /> | |
<%= ff.text_field :rolename, | |
:class => :input_text_box, | |
:id => :'input_rolename', | |
:maxlength => 32, | |
:size => 32, | |
:title => :'Enter the name by which this role is called.', | |
:value => "#{ | |
( role_header.rolename ? | |
role_header.rolename : " ") | |
}" | |
-%> | |
</p> | |
<p> | |
<b> | |
<%= label role_header.class.to_s.downcase, | |
:description, | |
:'Description: ', | |
:class => :input_box_label, | |
:for => :'input_role_description' | |
-%> | |
</b> <br /> | |
<%= ff.text_field :description, | |
:class => :input_text_box, | |
:id => :'input_role_description', | |
:title => :'Enter the purpose or use of this role.', | |
:size => 80 | |
-%> | |
</p> | |
</fieldset> | |
</div> | |
<%- end -%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment