Sha256: 0039eb8e092ab981830965a202e5685c7c2646eac844c0ceba5ed46931700429

Contents?: true

Size: 1.35 KB

Versions: 4

Compression:

Stored size: 1.35 KB

Contents

<div class="section_title">
   <%=tr("Start a New Discussion Topic") %> 
</div>

<div class="section grey">
  <%= form_tag({:controller => '/platform/forum', :action => :new_message, :app_id => @app.id}, {:method => :post, :id => "forum_topic_form"}) do %>
    <table style="width:99%">
      <tr>
        <td style="width:80px; text-align:right; padding-right:10px; font-weight:bold;">
          <%=tr("Topic:")%>
        </td>
        <td>
          <%=text_field_tag(:topic, "", :style=>"width:99%")%>
        </td>
      </tr>
      <tr>
        <td style="width:80px; text-align:right; padding-right:10px; padding-top:5px; font-weight:bold;">
          <%=tr("Message:") %>
        </td>
        <td style="padding-top:5px;">
          <%=text_area_tag(:message, "", :style=>"width:99%; height:80px;")%>
        </td>
      </tr>
    </table>
    
    <div style="padding-top:20px; padding-bottom:10px;text-align:center">
        <button type="submit" class="platform_btn platform_submit_btn" onClick="Tr8n.Effects.submit('forum_topic_form'); return false;">
            <span><%=tr("Start a New Discussion")%></span>
        </button>

        <% if include_cancel_button %>
        <%=tr("or")%> 
        <%=link_to(tr("Cancel"), :controller => '/platform/apps', :action => :view, :id => @app.id, :sec => 'Discussions')%>
        <% end %>  
    </div>
  <% end %>
</div>
  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
platform-3.1.4 app/views/platform/forum/_new_topic.html.erb
platform-3.1.3 app/views/platform/forum/_new_topic.html.erb
platform-3.1.2 app/views/platform/forum/_new_topic.html.erb
platform-3.1.1 app/views/platform/forum/_new_topic.html.erb