-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix translating Public Body Headings
Fixes submission of form containing both existing and new translations
- Loading branch information
1 parent
10e9c82
commit 205000f
Showing
7 changed files
with
654 additions
and
183 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="tab-pane" id="div-locale-<%=locale.to_s%>"> | ||
<div class="control-group"> | ||
<%= t.hidden_field :locale, :value => locale.to_s %> | ||
<label for="<%= form_tag_id(t.object_name, :name, locale) %>" class="control-label">name</label> | ||
<div class="controls"> | ||
<%= t.text_field :name, :id => form_tag_id(t.object_name, :name, locale), :class => "span4" %> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.