26 lines
1010 B
Plaintext
26 lines
1010 B
Plaintext
<style type="text/css">
|
|
.tab-panel .tab-content{
|
|
display: none;
|
|
}
|
|
.tab-panel .tab-content.active{
|
|
display: block;
|
|
}
|
|
.tab-panel .tab-content,.tab-panel .btn-group{
|
|
float: left;
|
|
}
|
|
</style>
|
|
<%= form_tag({action: 'update_custom_title',method: 'post'}, {class: "form-horizontal main-forms previewable"}) do %>
|
|
<% Admin::EventNewsHelper::FormHelper.set_input_name("event_news_custom_title") %>
|
|
<% @event_news_custom_titles.each_with_index do |v,i| %>
|
|
<div class="control-group">
|
|
<%= label_tag :title , v.default_title, :class=>"control-label muted" %>
|
|
<div class="controls">
|
|
<%= hidden_field_tag "event_news_custom_title[#{i}][id]", v.id %>
|
|
<%= Admin::EventNewsHelper::FormHelper.multiple_lang_tag(i,'text_field','title_translations',v.title_translations,{placeholder: v.default_title}) %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
<div class="form-actions">
|
|
<%= submit_tag t(:submit),class: 'btn btn-primary' %>
|
|
</div>
|
|
<% end %> |