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

25 lines
854 B
Plaintext
Raw Normal View History

2020-04-30 05:18:02 +00:00
<%
set_input_name('ask_acknowledgement')
%>
<style type="text/css">
.tab-content{
display: none;
}
.tab-content.active{
display: block;
}
</style>
2014-10-02 06:00:35 +00:00
<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' %>
2020-04-30 05:18:02 +00:00
<%=
multiple_lang_tag(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;'})
%>
2014-10-02 06:00:35 +00:00
</div>
<div class="form-actions">
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<%= f.button t('cancel'), type: 'reset', class: 'btn' %>
</div>
<% end %>
</div>