ask/app/views/admin/ask_acknowledgements/index.html.erb

24 lines
862 B
Plaintext

<%
set_input_name_for_ask('ask_acknowledgement')
%>
<style type="text/css">
.tab-content{
display: none;
}
.tab-content.active{
display: block;
}
</style>
<div id="ask-acknowledgements">
<%= form_for @ask_acknowledgements, url: @url, html: { class: 'form-horizontal' } do |f| %>
<div class="control-group">
<%= f.label :content, t('ask.acknowledgements'), class: 'control-label' %>
<%= multiple_lang_tag_for_ask(nil,'text_area','content',@ask_acknowledgements.content,{:class=>'ckeditor',placeholder: t('ask.acknowledgements'),rows:10},nil,{'class' => 'controls','style'=>'display: flex;flex-direction: column-reverse;'})
%>
</div>
<div class="form-actions">
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<%= f.button t('cancel'), type: 'reset', class: 'btn' %>
</div>
<% end %>
</div>