Created
April 8, 2014 13:26
-
-
Save danhorst/10123928 to your computer and use it in GitHub Desktop.
HYDRASIR-383
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
<div class="control-group required link-users" id="editors"> | |
<span class="control-label"> | |
<label class="required" for="<%=f.object.class.to_s.downcase%>_editors_attributes_0_name"> | |
<%# NOTE: Whenever you just copy the HTML generated by Simple Form it breaks internationalization %> | |
<%= I18n.t('simple_form.required.html', default: '<abbr title="" data-original-title="required">*</abbr>').html_safe %> | |
<%= I18n.t('sufia.work.editor.individual.name' %> | |
<span class="help-inline"><%= I18n.t('sufia.work.editor.individual.help' %></span> | |
</label> | |
</span> | |
<%# Rest of the file ... %> |
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
<div class="control-group required link-groups" id="groups"> | |
<span class="control-label"> | |
<label for="<%=f.object.class.to_s.downcase%>_editor_groups_attributes_0_title"> | |
<%# NOTE: Whenever you just copy the HTML generated by Simple Form it breaks internationalization %> | |
<%= I18n.t('sufia.work.editor.group.name' %> | |
<span class="help-inline"><%= I18n.t('sufia.work.editor.group.help' %></span> | |
</label> | |
</span> | |
<%# Rest of the file ... %> |
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
en: | |
sufia: | |
# Existing content goes here | |
work: | |
editor: | |
legend: "Content Editors" | |
caption: "Who should be able to make changes to this work?" | |
individual: | |
name: "Individual" | |
help: "At least one person should be able to edit this work" | |
group: | |
name: "Group" | |
help: "Add groups to allow others to collaboratively edit this work." |
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
<fieldset> | |
<legend> | |
<%=t('sufia.work.editor.legend') %> | |
<small><%=t('sufia.work.editor.caption') %></small> | |
</legend> | |
<%# Content goes here ... %> | |
</fieldset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full paths (other than the new view partial):