Sha256: 483ebf3952bd8939b8cd7562f6f95761bb2d3123f41af77c4c879d5a961851fa

Contents?: true

Size: 1.79 KB

Versions: 11

Compression:

Stored size: 1.79 KB

Contents

<% content_for :page_heading do %>
  <h2 class="page-title">
    <%= t('.comments_for_html', article_link: link_to(h(@comment.article.title), controller: '/admin/content', action: 'edit', id: @comment.article.id).html_safe) %>
  </h2>
<% end %>

<%= form_tag action: 'update', id: @comment.id do %>

  <%= error_messages_for 'comment' %>
  <%= hidden_field_tag 'article_id', @article.id %>

  <fieldset>
    <legend><%= t('.edit_a_comment') %></legend>
    <div class='row'>
      <div class="form-group col-md-4">
        <label for="comment_author" class='control-label'><%= t('.author') %></label>
        <%= text_field 'comment', 'author', class: 'form-control' %>
      </div>
    </div>
    <div class='row'>
      <div class='form-group col-md-4'>
        <label for="comment_email" class='control-label'><%= t('.email') %></label>
          <%= text_field 'comment', 'email', class: 'form-control' %>
      </div>
    </div>
    <div class='row'>
      <div class='form-group col-md-4'>
        <label for="comment_url" class='control-label'><%= t('.url') %></label>
        <%= text_field 'comment', 'url', class: 'form-control' %>
      </div>
    </div>
    <div class='row'>
      <div class='form-group col-md-12'>
        <label for='comment_body' class='control-label'><%= t('.your_comment') %></label>
        <script type="text/javascript">edToolbar('comment_body', '<%= @comment.text_filter_name %>');</script>
        <%= text_area 'comment', 'body', rows: '10', class: 'form-control' %>
      </div>
    </div>
    <div class='row'>
      <div class='form-group col-md-12'>
        <hr />
        <%= t('.action_or_other_html', first_action: link_to(t('.cancel'), action: 'index'), second_action: submit_tag(t('.save'), class: 'btn btn-primary')) %>
      </div>
    </div>
    </div>
  </fieldset>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
publify_core-9.2.10 app/views/admin/feedback/edit.html.erb
publify_core-9.2.9 app/views/admin/feedback/edit.html.erb
publify_core-9.2.8 app/views/admin/feedback/edit.html.erb
publify_core-9.2.7 app/views/admin/feedback/edit.html.erb
publify_core-9.2.6 app/views/admin/feedback/edit.html.erb
publify_core-9.2.5 app/views/admin/feedback/edit.html.erb
publify_core-9.2.4 app/views/admin/feedback/edit.html.erb
publify_core-9.2.3 app/views/admin/feedback/edit.html.erb
publify_core-9.2.2 app/views/admin/feedback/edit.html.erb
publify_core-9.2.1 app/views/admin/feedback/edit.html.erb
publify_core-9.2.0 app/views/admin/feedback/edit.html.erb